Skip to content

Commit

Permalink
Fix CGKit size selector
Browse files Browse the repository at this point in the history
  • Loading branch information
nomasi committed Dec 5, 2023
1 parent 0a24fa5 commit 5df43be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/SizeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ class SwatchesListButtonCGKit extends AbstractSelect {
constructor(element) {
super(element, { event: "click", useCapture: true });

this.allowEmptySizeSelection = true;
this.allowEmptySizeSelection = false;
this.getSize = (e) => {
const selected = e.target.closest("button");
return selected?.dataset.attributeValue ?? "";
Expand Down

0 comments on commit 5df43be

Please sign in to comment.