You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: I don't know wheter this is a bug or expected behaviour (or my code is incorrect and needs some improvements...).
I've created a short demo on stackblitz to demonstrate the behaviour. Just have a look at the console log or in the timeline of vue devtools.
Problem: Using the Field component of VueValidates differs from the behaviour of using a native input-tag. My computed property (which is used to update the parent state) is triggered twice.
In my opinion using Field-tag should not differ from using input-tag, should'nt it?
What happened?
First of all: I don't know wheter this is a bug or expected behaviour (or my code is incorrect and needs some improvements...).
I've created a short demo on stackblitz to demonstrate the behaviour. Just have a look at the console log or in the timeline of vue devtools.
Problem: Using the
Field
component of VueValidates differs from the behaviour of using a nativeinput
-tag. My computed property (which is used to update the parent state) is triggered twice.In my opinion using
Field
-tag should not differ from usinginput
-tag, should'nt it?Reproduction steps
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/vitejs-vite-rchpvj?file=src%2Fcomponents%2FChild.vue
Code of Conduct
The text was updated successfully, but these errors were encountered: