-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.
Description
Description
I think it's related to this issue #242
Reported by this user https://wordpress.org/support/topic/max-checked-option-not-working-2/, if you have a Checkbox field, and set some specific Min/Max options, when you try to add the Product in the Cart, when you are outside of the Min/Max options, you get the message "The field is a required field" instead of a more suggestive message like "You are allowed to choose only 1 option".
Step-by-step reproduction instructions
- Add a Checkbox field with two options A and B
- Set the Min and Max values to 1
- Attach the PPOM field to a product
- try to add the product in the cart, with both A and B selected
- You see the message "The field is required" instead of saying that you are not allowed to choose two options
Screenshots, screen recording, code snippet or Help Scout ticket
https://wordpress.org/support/topic/max-checked-option-not-working-2/
Environment info
No response
Is the issue you are reporting a regression
No
Metadata
Metadata
Assignees
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.

