Form field validation improvements
Form fields should validate on:
-
Auto-complete (see Error: 1) -
Paste (see Error: 2)
Additionally:
-
Send button should not be enabled on an empty text input (e.g., secret code entry input) (See error: 3) -
I am able to bypass the sign-up code syntax validation by pressing Enter rapidly on an invalidly-formatted code. (See error: 4) -
I am able to submit a domain even though the “Send” button is disabled by pressing Enter. (See error: 5)
Error 1
Auto-completing to a valid value does not update the validation state.
Error 2
Pasting an invalid value does not update the validation state.
Error 3
The Send button should be disabled at the start when the input is empty.
Error 4
I was able to proceed with a malformed sign-up code.
## Error 5
I was able to submit the domain even though the Save button was disabled by pressing Enter. To reproduce, don’t stop typing to wait and press Enter.