Controller would not set defaultValue #7238
Unanswered
OptimusBlack
asked this question in
General
Replies: 1 comment
-
@OptimusBlack can you share this on code sandbox? |
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.
-
Hi all,
I am having trouble with the defaultValue prop for Controller. It doesn't do anything.
Here is the interface of my form fields
Following is the controller I wrote. Everything works fine except that it doesn't set the default value. Note that the SelectDropdown is a custom component that just extends ReactSelect.
Beta Was this translation helpful? Give feedback.
All reactions