A user reported that non-required fields appear as required. We have already fixed this issue here: https://github.com/Codeinwp/woocommerce-product-addon/issues/316, but there is a new finding. The issue occurs if a required field is added before the non-required field.
Step-by-step reproduction instructions
Create a meta group and add a required field first
Now add a non-required field
Attach it to a product
Go to the product and don't fill in those not required fields, then try to add to cart
Screenshots, screen recording, code snippet or Help Scout ticket
Description
A user reported that non-required fields appear as required. We have already fixed this issue here: https://github.com/Codeinwp/woocommerce-product-addon/issues/316, but there is a new finding. The issue occurs if a required field is added before the non-required field.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet or Help Scout ticket
HS Ticket: https://secure.helpscout.net/conversation/2702498320/433263?folderId=212385
Environment info
No response
Is the issue you are reporting a regression
No