Skip to main content

Textarea

Container properties

All component configurations support Container properties at the first level.

Special container properties

Textarea supports other container properties except for common container properties

NameTypeDefaultSupports Variable PatternDescription
allowI18nValueboolIs it allowed to enter multiple languages

Component properties

NameTypeDefaultSupports Variable PatternDescription
classNamestring✔️component's className
styleobjectcomponent style
size'default' | 'small'Optional
simpleModeboolfalsesimple mode does not use { longText, value } format
i18nInputLayout'collapsed' | 'flat''collapsed'Multilingual input layout

All the remaining componentsProps will be passed to the component root element(TextArea)。

JS API

The interface obtained through formApi.getFieldApi() is as follows:

NameTypeDescription
nodeHTML ElementThe root DOM element of the component