[Rt-commit] rt branch 5.0/selectpicker-for-multiselect created. rt-5.0.4-5-ge9605db850

BPS Git Server git at git.bestpractical.com
Fri May 12 15:18:15 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/selectpicker-for-multiselect has been created
        at  e9605db850d824b9f7f5fda6ec6794ef8f8a02b8 (commit)

- Log -----------------------------------------------------------------
commit e9605db850d824b9f7f5fda6ec6794ef8f8a02b8
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri May 12 10:46:50 2023 -0400

    Enable the selectpicker class for multiselect cfs
    
    The selectpicker class activates the improved search and select controls
    from bootstrap-select, which is more friendly than the vanilla select.

diff --git a/share/html/Elements/EditCustomFieldSelect b/share/html/Elements/EditCustomFieldSelect
index 37b80aa40d..9921e5e965 100644
--- a/share/html/Elements/EditCustomFieldSelect
+++ b/share/html/Elements/EditCustomFieldSelect
@@ -112,7 +112,7 @@
 <select
   name="<%$name%>" id="<%$name%>"
 
-    class="CF-Edit CF-<%$CustomField->id%>-Edit form-control <% $RenderType eq 'Dropdown' ? 'selectpicker' : '' %>"
+    class="CF-Edit CF-<%$CustomField->id%>-Edit form-control selectpicker"
 %   if ( $use_chosen ) {
     data-live-search="true"
 %   }

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list