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 Report][3.7.1] [VInput] validate exposed function return outdated validation #20470

Closed
4dr1en opened this issue Sep 12, 2024 · 1 comment

Comments

@4dr1en
Copy link

4dr1en commented Sep 12, 2024

Environment

Vuetify Version: 3.7.1
Vue Version: 3.5.4
Browsers: Firefox 130.0
OS: Ubuntu undefined

Steps to reproduce

When you type 4 characters in the input field, the error appears in the field but is not returned by the 'validate' exposed method.

Expected Behavior

The validate method should return the error.

Actual Behavior

the value used by the validate method is not up to date with the value displayed by the field

Reproduction Link

https://play.vuetifyjs.com/#...

@KaelWD
Copy link
Member

KaelWD commented Sep 13, 2024

It hasn't updated yet, you need https://vuejs.org/api/general.html#nexttick

@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants