Product Filter - Price (Beta) block: Fix Filter is not applied when using the numeric inputs (#45327)

* Add missing `name` attribute to min and max input fields

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Alexandre Lara 2024-03-06 16:43:13 -03:00 committed by GitHub
parent 26c19fa1f8
commit bbd2e50a53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Comment: Fix an issue where the price filter was not applied when using the numeric inputs.

View File

@ -163,6 +163,7 @@ final class ProductFilterPrice extends AbstractBlock {
sprintf(
'<input
class="min"
name="min"
type="text"
value="%d"
data-wc-bind--value="context.minPrice"
@ -179,6 +180,7 @@ final class ProductFilterPrice extends AbstractBlock {
sprintf(
'<input
class="max"
name="max"
type="text"
value="%d"
data-wc-bind--value="context.maxPrice"