Describe the bug
Currently, entering a non-existent script name at /processses/new and pressing "Save" does not provide any visual feedback (no error message, no notification)
Interestingly, when a user selects any script and then deletes the text from the input field, only then the validation error "Script is required" appears (see screenshot):
To Reproduce
Reproduced on sandbox.dspace.org and demo.dspace.org using Google Chrome v151.0.
- Log in as admin
- Navigate to
/processes/new
- Enter a process name that does not exist
- Click the 'Save' button
- Observe that nothing happens (no error, no notification)
The validation error "Script is required" appears only under a certain condition:
- Select any script
- Delete its name from the input
- Observe the "Script is required" error info suddenly appears
Expected behavior
User should receive a clear feedback on what action is required to proceed.
A minimal fix would be to show the "Script is required" error when pressing "Save" with empty/invalid input. Additionally, the "Save" button could be disabled until the form is valid
Related work
Nothing relevant found
Describe the bug
Currently, entering a non-existent script name at
/processses/newand pressing "Save" does not provide any visual feedback (no error message, no notification)Interestingly, when a user selects any script and then deletes the text from the input field, only then the validation error "Script is required" appears (see screenshot):
To Reproduce
Reproduced on sandbox.dspace.org and demo.dspace.org using Google Chrome v151.0.
/processes/newThe validation error "Script is required" appears only under a certain condition:
Expected behavior
User should receive a clear feedback on what action is required to proceed.
A minimal fix would be to show the "Script is required" error when pressing "Save" with empty/invalid input. Additionally, the "Save" button could be disabled until the form is valid
Related work
Nothing relevant found