OrionTextarea

<o-textarea> displays a textarea field that resize automatically depending on its content.

Usage

TextareaIcons TextareaStyle TextareaPlayground

Props

Name
autofocusboolean = false
clearableboolean = false
clearToNullboolean = false
disabledboolean = false
donetypingnumber = 0
forceLabelFloatingboolean = false
inheritValidationStateboolean = undefined
labelstring = undefined
maxLengthnumber = undefined
modelValueT = undefined
prefixFontIconstring = undefined
prefixIconOrion.Icon = undefined
readonlyboolean = false
requiredboolean = false
selectOnFocusboolean = false
showLengthboolean = false
sizeOrion.Size = 'md'
suffixFontIconstring = undefined
suffixIconOrion.Icon = undefined
typestring | Orion.DatepickerType = 'text'
validationstring | ((val: any) => boolean) | Orion.Validator.Rule | Orion.Validation.Rule | boolean = undefined
validationErrorMessagestring = undefined

Events

Name
Payload type
focus
FocusEvent
blur
FocusEvent
submit
VModelType
input
VModelType
change
VModelType
update:modelValue
VModelType
clear
No payload

PublicInstance

Name
Type
hasBeenFocus
() => boolean
isFocus
() => boolean
focus
() => void
blur
Lodash.debounce
clear
() => void
setHasBeenFocus
(value: boolean) => void
isValid
() => boolean
_input
() => HTMLInputElement | undefined