[Rt-commit] rt branch, 5.0/add-form-control-to-select-object, created. rt-5.0.0-188-g624c1161a2
Craig Kaiser
craig at bestpractical.com
Fri Jan 8 17:33:28 EST 2021
The branch, 5.0/add-form-control-to-select-object has been created
at 624c1161a2e92af2d1a4eea837b58f47c4398ec1 (commit)
- Log -----------------------------------------------------------------
commit 624c1161a2e92af2d1a4eea837b58f47c4398ec1
Author: craig kaiser <craig at bestpractical.com>
Date: Fri Jan 8 17:32:16 2021 -0500
Add form-control class to SelectObject select input
We do not want to use the selectpicker class here as this is a multiple
select input, but the form-control class does improve the appearance of
the input.
diff --git a/share/html/Elements/SelectObject b/share/html/Elements/SelectObject
index f0a398dee9..85ce6e94a3 100644
--- a/share/html/Elements/SelectObject
+++ b/share/html/Elements/SelectObject
@@ -64,7 +64,7 @@
</ul>
% }
% else {
-<select name="<%$Name%>" <% ($Multiple) ? qq{class="tall" multiple="multiple" size="$Size"} : '' |n%> <% ($OnChange) ? 'onchange="'.$OnChange.'"' : '' |n %> class="<%$Class%> selectpicker form-control" <% ($AccessKey) ? qq{accesskey="$AccessKey"} : '' |n%>>
+<select name="<%$Name%>" <% ($Multiple) ? qq{class="tall form-control" multiple="multiple" size="$Size"} : '' |n%> <% ($OnChange) ? 'onchange="'.$OnChange.'"' : '' |n %> class="<%$Class%> selectpicker form-control" <% ($AccessKey) ? qq{accesskey="$AccessKey"} : '' |n%>>
% if ($ShowNullOption) {
<option value=""><% $DefaultLabel %></option>
% }
-----------------------------------------------------------------------
More information about the rt-commit
mailing list