[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.1-37-gd31007c829

? sunnavy sunnavy at bestpractical.com
Wed Mar 10 15:44:42 EST 2021


The branch, 5.0-trunk has been updated
       via  d31007c829cb23dfe7b2c862870c0488f29bdc20 (commit)
       via  7e988ea9199c19ca4c94798e21d4524471c29771 (commit)
      from  d2656e2e9ef939126a2b2eae2381a324eb64916c (commit)

Summary of changes:
 share/html/Elements/EditCustomFieldSelect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 7e988ea9199c19ca4c94798e21d4524471c29771
Author: craig kaiser <craig at bestpractical.com>
Date:   Tue Jan 5 16:54:49 2021 -0500

    Use checkbox class for multi select list input
    
    The "custom-radio" input class should only be used for single value list
    inputs.

diff --git a/share/html/Elements/EditCustomFieldSelect b/share/html/Elements/EditCustomFieldSelect
index 13c4c1f2f3..3e8320de96 100644
--- a/share/html/Elements/EditCustomFieldSelect
+++ b/share/html/Elements/EditCustomFieldSelect
@@ -71,7 +71,7 @@
 %   while ( my $value = $CFVs->Next ) {
 %     my $content = $value->Name;
 %     my $labelid = "$name-". $value->id;
-<div data-name="<% $value->Category || '' %>" class="custom-control custom-radio">
+<div data-name="<% $value->Category || '' %>" class="custom-control custom-<% $checktype %>">
   <input class="custom-control-input"  type="<% $checktype %>" name="<% $name %>" id="<% $labelid %>" value="<% $content %>" <% $default{ lc $content }? ' checked="checked"' : '' |n%> />
   <label class="custom-control-label" for="<% $labelid %>"><% $content %></label><br />
 </div>

commit d31007c829cb23dfe7b2c862870c0488f29bdc20
Merge: d2656e2e9e 7e988ea919
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Mar 11 04:35:21 2021 +0800

    Merge branch '5.0/use-checkbox-class-for-checkboxes' into 5.0-trunk


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


More information about the rt-commit mailing list