can not reset undefined to a value #5858
Unanswered
xihangzhou
asked this question in
Q&A
Replies: 2 comments 3 replies
-
we don't support input to be |
Beta Was this translation helpful? Give feedback.
1 reply
-
Component should not switch between controlled or uncontrolled behaviour. And |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
reset({ position: undefined });
like above, this position value can not be reset into undefined。
I think it is inconvenient if react-use-form transform undefined unconsciously in both reset or defaultValues.
I really hope this can be fixed.
Beta Was this translation helpful? Give feedback.
All reactions