You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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