Textarea

Displays a form textarea or a component that looks like a textarea.

Source code

Click to see the source code for this component on GitHub. Feel free to copy it and adjust it for your own use.

Installation

Usage

Basic example

Label

Form

Max Length

Restrict the number of characters that can be entered into the textarea.

No more than 5 letters

Pattern

Restrict the type of characters that can be entered into the textarea.

You don't need to use / at the beginning and end of the pattern as the RegExp is being created internally with the new RegExp() constructor.

Only lower case letters