Form components
Textarea
Textarea is used to set a value that is multiple lines of text.
Usage ¶
Validation states ¶
Sizes ¶
Counter ¶
If countermin
or countermax
are set, a counter will be shown.
Component arguments ¶
Textarea
¶
Argument | Type | Description |
---|---|---|
label |
str |
Required. Label for the textarea. |
id |
str |
Optional. ID of the textarea. Automatically generated if not set. |
caption |
str |
Optional. Caption for the textarea. |
size |
str |
Optional. Size of the textarea. Can be "medium" or "large". |
block |
bool |
Optional. If true, the textarea will take the full width of its parent. |
required |
bool |
Optional. If true, the textarea will be marked as required. |
disabled |
bool |
Optional. If true, the textarea will be disabled. |
loading |
bool |
Optional. If true, the textarea will show a loading spinner. |
valid |
str |
Optional. Positive validation message to show below the textarea. |
invalid |
str |
Optional. Negative validation message to show below the textarea. |
countermin |
int |
Optional. Minimum value for the counter. |
countermax |
int |
Optional. Maximum value for the counter. |
Components ¶
Component |
File |
Source |
---|---|---|
Textarea |
textarea.jinja |
|
form-field.css |