vee-validate icon indicating copy to clipboard operation
vee-validate copied to clipboard

Unable to setFieldError from API with multi-step form wizard in before step

Open nasirDoe opened this issue 8 months ago • 1 comments

What happened?

I set the field error for the username field when there is a response from the API in the first step, but the error does not appear. How can I handle the error in such a case?

Reproduction steps

  1. filling data step by step
  2. submit
  3. custom error with setFieldError not show

Version

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

What browsers are you seeing the problem on?

  • [ ] Firefox
  • [X] Chrome
  • [ ] Safari
  • [ ] Microsoft Edge

Relevant log output

No response

Demo link

https://stackblitz.com/edit/vitejs-vite-canzcg?file=src%2Fcomponents%2FFormStep.vue

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

nasirDoe avatar Jun 13 '24 04:06 nasirDoe