In Add Service Provider, clicking Edit with empty Service Provider Name switches form to “Add Service Provider” unexpectedly #133
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue URL:
https://account-settings.topcoder.com/#tools
Steps to reproduce
Actual result
Clicking the button without a value for Service Provider incorrectly switches the form into “Add Service Provider” mode instead of showing validation feedback.
Expected result
If “Service Provider Name” is left empty and user clicks the button, the system should either show a validation error or keep the user in the edit form until a valid value is entered.
Screenshots/Videos
Environment
OS and Browser version:
MacOS Sonoma: Version 14.3.1
Google Chrome: Version 140.0.7339.186 (Official Build) (x86_64)
Device: Macbook Pro
Reproducibility
5/5
All the Edit buttons in the Tools page don't seem to be prepopulating values. Another relevant issue #150
We also need to validate for mandatory values while saving the edits.