Text Area

This is a multi-line text input. You should use this field for content that are long strings such as descriptions or details.

Text Area Field
{
  component: 'textarea',
  name: 'textareaName',
  label: 'Text Area Field',
  description: 'A textarea input',
  defaultValue: 'This is default value',
}

Key

Type

Required

Description

component

string

yes

The name of the field component. (textarea)

name

string

yes

The name of the field that will be accessible by the cms prop of the component.

label

string

no

A human-readable label for the field.

description

string

no

A short description of the setting scope.

defaultValue

string

no

The default value for the field.

Last updated