Form
is a wrapper component to apply a <form />
wrapper and handle form submissions.
How to use Form
- The
Form
component should wrap form elements into<form />
- Provide an
onSubmit
handler for form validation and submission - state of the validation of the form should be manipulated from outside
Go ahead and add some fields into your form:
Code examples
Basic example
Using character count
Integrations
It is possible to integrate the form with solutions like Formik or React form hook