diff --git a/assets/js/blocks/price-filter/block.json b/assets/js/blocks/price-filter/block.json index d22b929c524..2bfd91e8580 100644 --- a/assets/js/blocks/price-filter/block.json +++ b/assets/js/blocks/price-filter/block.json @@ -29,7 +29,7 @@ }, "inlineInput": { "type": "boolean", - "default": true + "default": false }, "showFilterButton": { "type": "boolean", diff --git a/assets/js/blocks/price-filter/frontend.ts b/assets/js/blocks/price-filter/frontend.ts index 6d38ed17078..ef69736b03d 100644 --- a/assets/js/blocks/price-filter/frontend.ts +++ b/assets/js/blocks/price-filter/frontend.ts @@ -14,7 +14,7 @@ const getProps = ( el: HTMLElement ) => { return { attributes: { showInputFields: el.dataset.showinputfields === 'true', - inlineInput: el.dataset.inlineInput !== 'false', + inlineInput: el.dataset.inlineInput === 'true', showFilterButton: el.dataset.showfilterbutton === 'true', heading: el.dataset.heading || blockAttributes.heading.default, headingLevel: el.dataset.headingLevel