Improve form user experience
What does this MR do and why?
Use input
event rather than blur
to emit changes on the new vulnerability form. Previously, the form would be validated only when the user would blur from the input. Now it's on input.
How it works elsewhere | How it works on the new vuln page |
---|---|
Screenshots or screen recordings
Fixed version:
How to set up and validate locally
- You'll need an EE license.
- Navigate to
:namespace/:project/-/security/vulnerabilities/new
using the Address bar - Click submit without filling the form and then type something in the erroneous fields.
- You should see that the error message disappears when something is typed
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #352128 (closed)
Edited by Savas Vedova