Skip to content

Commit

Permalink
Merge branch '5.0/remove-empty-option-from-multiple-select-cfs' into …
Browse files Browse the repository at this point in the history
…5.0-trunk
  • Loading branch information
cbrandtbuffalo committed Mar 26, 2024
2 parents fa19258 + cc5b909 commit aa74032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/html/Elements/EditCustomFieldSelect
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ my $use_chosen = CachedCustomFieldValues($CustomField)->Count >= 10 ? 1 : 0;
$m->callback( CallbackName => 'Chosen', UseChosen => \$use_chosen, CustomField => $CustomField );

# it's weird to see "(no value) X" in the input when selecting multiple values
$show_empty_option = 0 if $use_chosen && $Multiple;
$show_empty_option = 0 if $Multiple;
</%init>
<%ARGS>
$Object => undef
Expand Down

0 comments on commit aa74032

Please sign in to comment.