Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG - the user can send the form with validation errors #3

Open
DataJoshua opened this issue Dec 11, 2023 · 1 comment
Open

BUG - the user can send the form with validation errors #3

DataJoshua opened this issue Dec 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@DataJoshua
Copy link
Contributor

In the Authentication form the user is able to send the form even if it has validation errors

The input is sent even if it has validation errors

EXAMPLE:
if the User types a invalid password in the input field and the user clicks "Login" immediately, the input does not looses the focus and the form is submitted.

@DataJoshua
Copy link
Contributor Author

A valid solution could be to update the errors and isSubmitDisabled when the input is changed not on blur

@escalopa escalopa added the bug Something isn't working label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants