This component is returned by
useForm().<TextArea /> when you need a multi-line string field (e.g. descriptions, notes, or comments). For single-line text, use <TextInput /> instead. The component binds to a string field in your form schema.
Example
form-text-area-dialog.tsx
Props
string
required
The label of the textarea.
string
required
The path to the value of the textarea in your form schema.e.g.
"description", "address.notes"string
The optional placeholder text of the textarea.
boolean
Whether the textarea is resizable by the user.Defaults to
false.boolean
Whether the textarea is disabled.Defaults to
false.