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
Not sure if I am using the types here correctly, but I have encountered an issue when upgrading vee-validate.
I am using the useField() name property in my dynamic ID in the template, and it requires me to put .value at the end of it to extract the string value.
The error: Property 'value' does not exist on type 'MaybeRef<string>'. Did you mean 'valueOf'? Property 'value' does not exist on type 'string'.ts(2551)
What happened?
Not sure if I am using the types here correctly, but I have encountered an issue when upgrading
vee-validate
.I am using the
useField()
name property in my dynamic ID in the template, and it requires me to put.value
at the end of it to extract the string value.Template:
Script:
The error:
Property 'value' does not exist on type 'MaybeRef<string>'. Did you mean 'valueOf'? Property 'value' does not exist on type 'string'.ts(2551)
The object structure of my useField:
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
NA
Code of Conduct
The text was updated successfully, but these errors were encountered: