Skip to main content
This component is returned by useForm().

Example

record-form.tsx

Props

label
string
required
The label of the Attio record combobox input field.
name
string
required
The path to the attioRecord value of the input field in your form schema. e.g. "company", "appointment.contact_person"
object
ObjectSlug | Array<ObjectSlug>
Specifies which type(s) of records to load in the combobox, including custom objects.Defaults to ["companies", "people", "deals", "users"].
disabled
boolean
Whether or not the field should be disabled.Defaults to false (not disabled).