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

Form component: submit form after change invalid input #511

Closed
AnthonyRuelle opened this issue Aug 8, 2023 · 1 comment · Fixed by #487
Closed

Form component: submit form after change invalid input #511

AnthonyRuelle opened this issue Aug 8, 2023 · 1 comment · Fixed by #487
Labels
bug Something isn't working

Comments

@AnthonyRuelle
Copy link

Version

"@nuxthq/ui": "npm:@nuxthq/ui-edge@latest", (08 Aug.)
"nuxt": "3.6.5",

Reproduction Link

https://stackblitz.com/edit/nuxtlabs-ui-gl68pn?file=app.vue

Steps to reproduce

Fill in the first field by making it invalid (toto@gmail)
Fill in the second field by putting anything
Try Submit form => invalid.

Go back to the first field and add the .com
Immediately click on the Submit button => Still invalid
You have to click twice for it to be correct.

What is Expected?

The first click on the button executes the function completely.

@AnthonyRuelle AnthonyRuelle added the bug Something isn't working label Aug 8, 2023
@stackblitz
Copy link

stackblitz bot commented Aug 8, 2023

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

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

Successfully merging a pull request may close this issue.

1 participant