You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 24, 2024. It is now read-only.
The Form component is used to validate form data using schema libraries such as Yup, Zod, Joi, Valibot or your own validation logic. It should work seamlessly with the FormGroup component to automatically display error messages around form elements.
The Form component requires the validate and state props for form validation.
state - A reactive object that holds the current state of the form.
validate - A function that takes the form's state as input and returns an array of FormError objects with the following fields:
message - The error message to display.
path - The path to the form element matching the name.