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
The label of the textarea.
The path to the value of the textarea in your form schema.e.g.
"description", "address.notes"The optional placeholder text of the textarea.
Whether the textarea is resizable by the user.Defaults to
false.Whether the textarea is disabled.Defaults to
false.