This component is returned by
useForm().<TextInput /> for single-line string fields. For multi-line text (e.g. descriptions, notes, or comments), use <TextArea /> instead. The component binds to a string field in your form schema.
Example
form-text-input-dialog.tsx
Props
The label of the input field.
The path to the
string value of the input field in your form schema.e.g. "name", "shipping.address.street"An optional placeholder text for your input.
Whether or not the field should be disabled.Defaults to
false (not disabled).