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

await form.validate() errors because of wrong type #495

Closed
graup opened this issue Aug 4, 2023 · 1 comment · Fixed by #496
Closed

await form.validate() errors because of wrong type #495

graup opened this issue Aug 4, 2023 · 1 comment · Fixed by #496
Labels
bug Something isn't working

Comments

@graup
Copy link
Contributor

graup commented Aug 4, 2023

The type definition doesn't include a Promise even though the value does (in reality and according to the docs https://ui.nuxtlabs.com/forms/form#type-inference)

Screenshot 2023-08-04 at 13 56 12
@graup graup added the bug Something isn't working label Aug 4, 2023
@graup
Copy link
Contributor Author

graup commented Aug 4, 2023

This code is invalid. I'll try to fix it.

Screenshot 2023-08-04 at 14 06 50

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