useFormSubmit

    API

    import { useFormSubmit } from 'react-formal';
    • useFormSubmit(options: UseFormSubmitOptions) => void

      Parameters

      • optionsUseFormSubmitOptions
        • triggerstring[]

          A set of paths to trigger validation for

        • triggers