Adding CSS class to g:ui_choicelist or g:ui_date
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2019 04:08 AM
Hi experts,
I'm currently using the following code in a UI page:
<g:ui_choicelist class="form-control" name='gh_hold_reason' table='incident' field='u_on_hold_reason' />
But that is rendering the select tag as vanilla HTML and looks ugly even though I've used the "class" attribute. Is there a way I can apply that CSS class to the select tag?
Labels:
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2019 03:19 AM
So far, this is the alternative that I've been using:
gel('gh_hold_reason').setAttribute('class', 'form-control');
This works, but I was hoping there was a standard/OTB feature for this.