Skip to content

Commit

Permalink
Allow to clear taxon, product and variant selection
Browse files Browse the repository at this point in the history
One might want to clear the selected taxon, product or
variant in an element.
  • Loading branch information
tvdeyen committed Mar 26, 2024
1 parent fae31ca commit 37df7fe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Alchemy.Solidus.getSelect2Config = function (options) {
return {
placeholder: options.placeholder,
minimumInputLength: 3,
allowClear: true,
initSelection:
options.initSelection ||
function (_$el, callback) {
Expand Down

0 comments on commit 37df7fe

Please sign in to comment.