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

setErrors method problem #4865

Open
4 of 5 tasks
gspgsp opened this issue Sep 18, 2024 · 0 comments
Open
4 of 5 tasks

setErrors method problem #4865

gspgsp opened this issue Sep 18, 2024 · 0 comments

Comments

@gspgsp
Copy link

gspgsp commented Sep 18, 2024

What happened?

I found that all the hint message will show at the same time, and this is what i wanted, but when my mouse clicks on one of the input boxes, such as name field, the hint of the current input box will disappear, and the hint of the input box that I didn't click on (here is age field) will also disappear. i want to achiveve, click who's input box, the current input box's hint will disappear, not all.

Reproduction steps

what i test.

fieldName.setErrors(data? .data.name); 
fieldAge.setErrors(data? .data.age); 

env:
"@vee-validate/nuxt": "^4.13.2",
"@vee-validate/yup": "^4.13.2",
"vue": "^3.5.5",

node: v20.15.0

Version

Vue.js 3.x and vee-validate 4.x

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge

Relevant log output

No response

Demo link

jsut on my local env

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant