Skip to content

Commit

Permalink
Remove unnecessary 'x' on Select2 assigned users widget. Select 'unas…
Browse files Browse the repository at this point in the history
…signed' instead.
  • Loading branch information
steveyken committed Aug 23, 2024
1 parent 339b9b9 commit 868e442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/users_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def user_select(asset, users, myself)
user_options = user_options_for_select(users, myself)
select(asset, :assigned_to, user_options,
{ include_blank: t(:unassigned) },
style: 'width: 160px;',
style: 'width: 160px;', "data-allow-clear" => false,
class: 'select2')
end

Expand Down

0 comments on commit 868e442

Please sign in to comment.