useFormContext in custom components #501
Replies: 3 comments
-
We might remove react-hook-form in the future due to several issues so it is possible but may work differently in the future |
Beta Was this translation helpful? Give feedback.
-
To answer your question, this is likely a limitation of React context, and due to the fact that we pin the react-hook-form dependency to We can most likely relax the version constraint, though. What's your use case? |
Beta Was this translation helpful? Give feedback.
-
I am really struggling to wrangle the Kratos UI eDSL. It sounds like @aeneasr I hear you on wanting to keep |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It looks like
react-elements
is built onreact-hook-form
. Given that node overrides are rendered in the form context, shouldn't we be able to get the form context in our node override function?Beta Was this translation helpful? Give feedback.
All reactions