Skip to content

How to trigger FormRenderer onSubmit from outside form component? #1481

Discussion options

You must be logged in to vote

@Amansaxena001 I have a small sandbox here: https://stackblitz.com/edit/vitejs-vite-k7m5tl?file=src%2FApp.tsx
with close button as a submit button. Let me know what you think.

Other option might very well be, enhancing the submit function and directly call the Drawer close callback.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Hyperkid123
Comment options

@Amansaxena001
Comment options

@Hyperkid123
Comment options

Answer selected by rvsia
@Amansaxena001
Comment options

@Amansaxena001
Comment options

@Amansaxena001
Comment options

@Hyperkid123
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
renderer React form renderer PR
3 participants