Skip to content

Textarea

te-textarea is a multi-line field that forwards the same native events as te-input.

Basic

vue
<te-textarea placeholder="Leave a comment" :rows="4" />
<te-textarea model-value="Read only" readonly />

Props

PropTypeDefaultDescription
modelValuestring''Supports v-model.
placeholderstring''Placeholder text.
rowsnumber3Visible rows.
colsnumberundefinedVisible columns.
disabledbooleanfalseDisables the field.
readonlybooleanfalseRead-only field.

Events

EventPayloadDescription
update:modelValuestringValue changed.
blur focusFocusEventForwarded from the textarea.
changeEventForwarded from the textarea.
keydown keypress keyupKeyboardEventForwarded from the textarea.

Released under the MIT License.