# Show read-only text in pills

**URL:** https://community.glideapps.com/t/show-read-only-text-in-pills/71511
**Category:** Feature Requests
**Created:** [March 7, 2024, 8:28pm UTC](https://community.glideapps.com/t/show-read-only-text-in-pills/71511 "2024-03-07T20:28:05Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [March 7, 2024, 9:20pm UTC](https://community.glideapps.com/t/show-read-only-text-in-pills/71511/2 "2024-03-07T21:20:55Z")

</div>

> [@Show Items in Detail View as Pills](https://community.glideapps.com/t/show-items-in-detail-view-as-pills/66428/9):
>
> I just threw the question at ChatGPT to create javascript. This is untested, but just looking at the code, I believe it should work. Pass your comma delimited list as the p1 parameter. The result should be html that you can use in a rich text component. function createBluePillsList(input) { // Split the input string into an array of words const words = input.split(','); // Create an empty string to store the HTML let html = ''; // Loop through each word and create a blue pill for…

---

_[View the full topic](https://community.glideapps.com/t/show-read-only-text-in-pills/71511)._
