RruForm
Example
Click “Open Sandbox” to see the example source code
Props
Name | Description | Required |
---|---|---|
onSubmit | A function which takes the form data object. Will be called when the user submits the form if there is no validation violation | Yes |
initialValues | An object containing the form default values. | No |
yupValidationSchema | yup validation schema |
No |
id | The form id . This can be used if your submit button is outside the form |
No |