Skip to content

Commit

Permalink
Allow Select2 select fields to be cleared. (CFM-258) (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored Mar 21, 2023
1 parent b8f3f87 commit e4138f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/templates/element/javascript.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@
$("select").not("#limit").not(".duet-date__select--month").not(".duet-date__select--year").select2({
width: '100%',
tags: true,
placeholder: "-- Select --"
placeholder: "-- Select --",
allowClear: true
});

// Generic row click handling
Expand Down

0 comments on commit e4138f3

Please sign in to comment.