Skip to main content

Textarea

About 149 wordsLess than 1 minute

Textarea

Props

PropTypeDefaultDescription
idstringAuto-generatedThe unique identifier for the textarea field.
iconstring-Icon used in the label (FgLabel).
labelstring-Label text displayed above the textarea.
infostring-Informational or hint text displayed below the textarea (FgInfo).
errorstring-Error message displayed below the textarea (FgError).
modelValuestring''Bound value of the textarea. Supports v-model.
placeholderstring-Placeholder text for the textarea.
rowsstring | number4Number of visible text lines in the textarea.
disabledbooleanfalseWhether the textarea is disabled.

Emits

EventPayload TypeDescription
update:modelValuestringEmitted when the textarea value is updated.

Install

import { FgTextarea } from 'fadgram-vue'

Basic usage

Preview