What is the right way to use withForm with reusable field components? #1486
Unanswered
uzakovnikita
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello! I tried to implement reusable NameField form component using withForm HOC as shown in the code
And in this case i have typescript error:
For solve this error i have to define phone in defaultValue field:
But it seems not right way. Please tell me how to avoid this error. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions