vee-validate
vee-validate copied to clipboard
Unable to setFieldError from API with multi-step form wizard in before step
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
- filling data step by step
- submit
- 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