Error shown after field values are reverted to their initial state with resetForm #4467
Closed
1 of 5 tasks
Labels
🐛 bug
Unintended behavior
What happened?
I have created a Select component in my nuxt 3 project with the
useField
composable.The select field is made required using
@vee-validate/rules
If I submit the form and then call
resetForm()
, all values are reverted, but the error message pops up saying the select field is required.Reproduction steps
No response
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
https://stackblitz.com/edit/nuxt-starter-cwtjux?file=components%2FCustomSelect.vue
Code of Conduct
The text was updated successfully, but these errors were encountered: