What would be the best way to set the initial value of a useField if said value came from a component's props ? (vee-validate V4) #4001
Unanswered
ClaudiaLaplante
asked this question in
Q&A
Replies: 1 comment
-
You should use Check for examples here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a component that use the
useField()
API. I was wondering what was the right approach if I wanted to set its initial state with something that came from my component's props.When I use my component this way, there is no value. What is the way set field value?
Beta Was this translation helpful? Give feedback.
All reactions