Function useSetActiveSubmitButton
- useSetActiveSubmitButton(): ((instance: HTMLButtonElement | null) => void)
-
Returns ((instance: HTMLButtonElement | null) => void)
-
- (instance: HTMLButtonElement | null): void
-
Parameters
-
instance: HTMLButtonElement | null
Returns void
Hook to set the reference of the hidden submit button inside a form.
To submit a rjsf form using a button which is outside the form, you need a reference to a button inside form.