Automattic / woocommerce-payments

Accept payments via credit card. Manage transactions within WordPress.
https://wordpress.org/plugins/woocommerce-payments/
Other
177 stars 69 forks source link

Server validation error should be displayed next to the field on settings save #7279

Open mordeth opened 1 year ago

mordeth commented 1 year ago

Description

With the implementation of #7090 for handling server errors on saving the WooPayments Settings, we display them in the bottom left corner, which works well, but sometimes, it could be confusing on which field the error refers to.

Testing instructions

Screenshot 2023-09-07 at 11 29 11

Acceptance criteria

Display the server error next to the referred field.

Screenshot 2023-09-07 at 11 37 16
jessy-p commented 10 months ago

This issue impacts Payments settings page, so assigning to Moltres (based on team responsibilities Pc2DNy-3z-p2) @daquinons. Assigning as part of Gamma Triage process PcreKM-yM-p2.