A basic HTML textarea for entering multiline text.
Function or value | Description |
Full Usage:
Textarea.textarea id attrs
Parameters:
string
attrs : Attr list
Returns: DashComponent
|
A basic HTML textarea for entering multiline text. Properties: • id (string) - The ID of this component, used to identify dash components in callbacks. The ID needs to be unique across all of the components in an app. • value (string) - The value of the textarea • autoFocus (string) - The element should be automatically focused after the page loaded. • cols (string | number) - Defines the number of columns in a textarea. • disabled (string | boolean) - Indicates whether the user can interact with the element. • form (string) - Indicates the form that is the owner of the element. • maxLength (string | number) - Defines the maximum number of characters allowed in the element. • minLength (string | number) - Defines the minimum number of characters allowed in the element. • name (string) - Name of the element. For example used by the server to identify the fields in form submits. • placeholder (string) - Provides a hint to the user of what can be entered in the field. • readOnly (boolean | value equal to: 'readOnly', 'readonly', 'READONLY') - Indicates whether the element can be edited. readOnly is an HTML boolean attribute - it is enabled by a boolean or 'readOnly'. Alternative capitalizations `readonly` & `READONLY` are also acccepted. • required (value equal to: 'required', 'REQUIRED' | boolean) - Indicates whether this element is required to fill out or not. required is an HTML boolean attribute - it is enabled by a boolean or 'required'. Alternative capitalizations `REQUIRED` are also acccepted. • rows (string | number) - Defines the number of rows in a text area. • wrap (string) - Indicates whether the text should be wrapped. • accessKey (string) - Defines a keyboard shortcut to activate or add focus to the element. • className (string) - Often used with CSS to style elements with common properties. • contentEditable (string | boolean) - Indicates whether the element's content is editable. • contextMenu (string) - Defines the ID of a
|