Textarea

Several lines of text.

Example

tsx
<Textarea rows={3} placeholder="What should change?" />

Usage

Pages are built on the server: import the tags from @dash/server and return the tree. The browser runtime draws it.
tsx
import { Textarea } from "@dash/server";

Props

TextareaProps

Also takes everything Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "defaultValue"> does.
Prop
Type
Description
placeholderstring
valuestring
defaultValuestring
rowsnumber
disabledboolean
onChange(e: React.ChangeEvent<HTMLTextAreaElement>) => void
onBlur(e: React.FocusEvent<HTMLTextAreaElement>) => void
aria-invalidboolean
PreviousInput
NextSelect
On this page