All of the input components are returned from
useForm().Settings.useForm there.
Example
Parameters
A form schema is how you tell Attio about the shape and validation rules
of your form data.
These values must match the type defined by your form schema.
Returns
useForm returns an object containing the following functions and React components.
An imperative function to submit the form. It will cause validation to run, and if the validation passes it will call the
onSubmit handler that you have passed to <Form/>.You should typically prefer to render a
<SubmitButton /> instead of calling submit directly.Boolean checkbox input. Link to full docs.
Dropdown selection input. Link to full docs.
Date and time input field. Link to full docs.
A form wrapper with an
onSubmit handler. Link to full docs.Group multiple inputs together. Link to full docs.
Numeric input field. Link to full docs.
Date input field (without time). Link to full docs.
Button to submit the form. Link to full docs.
Text input field. Link to full docs.
Multi-line text input field. Link to full docs.
Boolean toggle switch. Link to full docs.
Access form state for conditional rendering. Link to full docs.
Select Attio records. Link to full docs.
Select Attio workspace users. Link to full docs.