Virtual Controller #3163
Replies: 1 comment
-
Hey Young Jin,
Have u tried shouldUnregister:false at useForm? That’s probably what u after.
Cheers
Bill
On 13 Oct 2020, at 2:36 pm, Young Jin Park <notifications@github.com<mailto:notifications@github.com>> wrote:
Is there an easy way of disabling the unregister hook in a Controller? I know it's easy enough to make a custom wrapper around a component, but I think for more complex use cases being able to disable unregister is a big feature.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#3163>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACQGXVBHSRD4LFNKULG6V3DSKPDL7ANCNFSM4SN6ZVJA>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yjp20
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.
-
Is there an easy way of disabling the unregister hook in a Controller? I know it's easy enough to make a custom wrapper around a component, but I think for more complex use cases being able to disable unregister is a big feature.
Beta Was this translation helpful? Give feedback.
All reactions