Native multiline input composed through the shared form contract.
Textarea keeps its normalized value as escaped element content. Native resize remains the fallback; explicit content sizing is a CSS capability enhancement. The caller owns parsing, validation, measurement-driven growth, persistence, submission, and request lifecycle.
Summary
Functions
Renders one native textarea with deterministic field relationships.
Functions
Renders one native textarea with deterministic field relationships.
Attributes
field(:any) - Defaults tonil.id(:string) - Defaults tonil.name(:string) - Defaults tonil.value(:any) - Defaults to{:shadcn_ui, :not_provided}.errors(:any) - Defaults to{:shadcn_ui, :not_provided}.error_mode(:atom) - Defaults to:used_input. Must be one of:used_input,:always, or:hidden.used(:boolean) - Defaults tofalse.translate_error(:any) - Defaults tonil.pending(:boolean) - Defaults tofalse.required(:boolean) - Defaults tofalse.optional(:boolean) - Defaults tofalse.disabled(:boolean) - Defaults tofalse.readonly(:boolean) - Defaults tofalse.rows(:integer) - Defaults tonil.cols(:integer) - Defaults tonil.minlength(:integer) - Defaults tonil.maxlength(:integer) - Defaults tonil.placeholder(:string) - Defaults tonil.autocomplete(:string) - Defaults tonil.form(:string) - Defaults tonil.resize(:atom) - Defaults to:vertical. Must be one of:vertical,:horizontal,:both, or:fixed.sizing(:atom) - Defaults to:fixed. Must be one of:fixed, or:content.describedby(:any) - Defaults tonil.class(:any) - Defaults tonil.field_class(:any) - Defaults tonil.- Global attributes are accepted. Supports all globals plus:
["autocapitalize", "autofocus", "spellcheck", "wrap"].
Slots
label(required)help