-
I have a very generic (basic) select component:
When using useField function from vee-validate 4.5.7 like this:
I get Vue warn (validation doesn't work):
However when I use just Vue3 ref, there is no warn:
Is something wrong with my implementation of BaseSelect, or this is useField thing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I believe this is a Vue thing because vee-validate has no such warnings on the value type nor it does any kind of runtime type checking. Feel free to re-create this in a sandbox and I can point out what is causing it. But usually, that warning would go away with a default value assigned to the prop. |
Beta Was this translation helpful? Give feedback.
I believe this is a Vue thing because vee-validate has no such warnings on the value type nor it does any kind of runtime type checking.
Feel free to re-create this in a sandbox and I can point out what is causing it. But usually, that warning would go away with a default value assigned to the prop.