Skip to main content

TextareaField

Renders a multiline text area field. It is used for basic string editing and has no rich text editing capabilities.
TextareaFieldProps
TextareaFieldProps
Intersection of
SimpleRelativeSingleFieldProps
SimpleRelativeSingleFieldProps
Intersection of
FieldBasicProps
FieldBasicProps
defaultValue
OptionallyVariableFieldValue
field*
| string| SugarableRelativeSingleField
isNonbearing
boolean
onBeforeUpdate
FieldEventListenerValue<"beforeUpdate", FieldValue>
onInitialize
FieldEventListenerValue<"initialize", FieldValue>
onUpdate
FieldEventListenerValue<"update", FieldValue>
Omit
FieldContainerProps
FieldContainerProps
Intersection of
FieldContainerProps
className
string
description
React.ReactNode
direction
StackProps["direction"]
gap
| Size| "none"
label*
React.ReactNode
labelDescription
React.ReactNode
labelPosition
FieldContainerLabelPosition
required
boolean
size
Size
style
React.CSSProperties
useLabelElement
boolean
width
| "column"| "fluid"| "none"
ErrorListProps
ErrorListProps
errors
FieldErrors
ControlProps
ControlProps
Intersection of
ControlDisplayProps
ControlDisplayProps
className
string
distinction
ControlDistinction
id
string
intent
Intent
name
string
placeholder
| null| string
scheme
Scheme
size
Size
type
undefined
ValidationStateProps
ValidationStateProps
onValidationStateChange
(error?: string) => void
validationState
ValidationState
ControlStateProps
ControlStateProps
active
boolean
disabled
boolean
focused
boolean
hovered
boolean
loading
boolean
readOnly
boolean
required
boolean
ControlFocusProps
ControlFocusProps
onBlur
() => void
onFocus
() => void
onFocusChange
(isFocused: boolean) => void
ControlConstraintProps
ControlConstraintProps
max
| null| string
maxLength
number
min
| null| string
minLength
number
pattern
string
ControlValueProps
ControlValueProps
defaultValue
| null| string
notNull
boolean
onChange
(value?: | null| string) => void
value
| null| string
TextareaInputOwnProps
TextareaInputOwnProps
minRows
number
withTopToolbar
boolean