Submit form if it's wrapped in other component #3935
Unanswered
MYSIVMAKARII
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
-
Hi guys! I have callable drawer component with {children} which contains different forms. Drawer has footer with 2 buttons: cancel & submit. How can I use footer submit button to submit form that wrapped inside a drawer? I think it's question about using useFormikContext() but have no idea how to implement it right now. Solution with Zustand state management package is more preferable.
Beta Was this translation helpful? Give feedback.
All reactions