FormTextarea

The FormTextarea component is a customizable textarea input designed for use within forms. It includes features such as validation error messages, label support, and various configuration options.

Description

The FormTextarea component provides a flexible textarea input for forms. It supports various customization options, including label, placeholder, and validation error messages. The component is integrated with the VeeValidate library for validation handling.

Example

<template>
<FormTextarea
label="Description"
name="description"
:cols="40"
:maxlength="500"
placeholder="Enter your description"
/>
</template>

Props

  • disabled (Boolean): Disables the textarea when set to true.
  • label (String): Specifies the label for the textarea.
  • name (String): The unique identifier for the textarea.
  • placeholder (String): The placeholder text for the textarea.
  • cols (Number): The visible width of the textarea, in average character widths.
  • maxlength (Number): The maximum number of characters allowed in the textarea.
Table of Contents