Back to Nocobase

VariableTextArea

docs/docs/en/shared-components/form/variable-text-area.md

2.1.21808 B
Original Source

VariableTextArea

VariableTextArea is used to let multi-line text accept variables.

Basic Usage

tsx

API

PropTypeDescription
valuestringCurrent value
onChange(value: string) => voidChange callback
disabledbooleanWhether disabled
placeholderstringPlaceholder text
namespacesstring[]Allowed top-level variable namespaces
extraNodesMetaTreeNode[]Additional local variable nodes
delimiters[string, string]Variable delimiters
rowsnumberFixed row count
maxRowsnumberMaximum row count