<ui-textarea>

Labelled multi-line text input.

Forms · stable · since 2.0.0 · extends UIFormElement

Examples

<ui-textarea label="Notes" rows="4"></ui-textarea>
<ui-textarea label="Auto" autosize></ui-textarea>

Playground

Generated HTML

Event log

    API

    Attributes and properties

    PropertyAttributeTypeDefaultDescription
    disableddisabledbooleanfalse
    busydata-ui-busybooleanfalse
    namenamestring""Form field name.
    valuevaluestring""Current text.
    labellabelstring""Visible label.
    requiredrequiredbooleanfalseMark as required.
    readonlyreadonlybooleanfalseRead-only.
    primaryprimarybooleanfalsePrimary label emphasis.
    rowsrowsnumber3Visible rows.
    placeholderplaceholderstring""Placeholder.
    maxlengthmaxlengthnumbernullMaximum length.
    autosizeautosizebooleanfalseGrow with content.

    Methods

    None.

    Events

    Slots

    None.