Send empty form when clicking "Save attribute" #37021
Labels
focus: product management
Related to product creation and editing.
focus: product
Issues related to product or product page.
priority: high
The issue/PR is high priority—it affects lots of customers substantially, but not critically.
type: bug
The issue is a confirmed bug.
Describe the bug
When creating a product, under the Attributes tab, we don't check if the form is empty when pressing the
Save attribute
button. So it's possible to send empty values to the actionwoocommerce_save_attributes
.We should add a check like this to this method.
We should mark these fields as required, disable the Save button, and show a help message.
Steps to reproduce
Acceptance criteria
The text was updated successfully, but these errors were encountered: