Properties
| Property | Type | Description |
|---|---|---|
preventSubmitWhen | function | (optional) Use this function to prevent the original onSubmit from being called. It receives an object as the first parameter. Read more about the parameters in the info section. It should return a boolean value that determines whether the confirmation routine (submit prevention) should be active or not. It defaults to be active by default. |
renderWithState | function | (optional) This function is called whenever the submit confirmation state changes. It receives an object as the first parameter. Read more about the parameters in the info section. The function is expected to return a React Element to render. |