Skip to content
Snippets Groups Projects
Verified Commit 7d64f829 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Make email field validate on change again

Switches from using a Controller to the simpler uncontrolled setup.
Label has been set to be permanently shrunk since mui refuses to realise
that the field has input when using rhf's setValue.
Validation now happens onChange, alerting the user while typing.
Submit button is disabled if you have not touched the field and when the
content of the field is an invalid email. After submissions, the new
value is treated as the default, disabling the save button until the
field has been touched again.

Resolves: GREG-196
parent dc1dbdb8
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment