OrionInput
Example
<o-input>
displays a customisable input field.
Usage
InputIcons InputStyle InputPlayground
Props
Name
allowNegative
boolean = false
autocomplete
string = undefined
autofocus
boolean = false
clearable
boolean = false
clearToNull
boolean = false
cleave
Object = undefined
disabled
boolean = false
donetyping
number = 0
forceLabelFloating
boolean = false
inheritValidationState
boolean = undefined
label
string = undefined
mask
string | InputMask = undefined
maskFormat
string = undefined
maskHourFormat
string = '24h'
maskHourSeparator
string = ':'
maxLength
number = undefined
maxValue
number = undefined
minValue
number = undefined
modelValue
T = undefined
prefixFontIcon
string = undefined
prefixIcon
Orion.Icon = undefined
readonly
boolean = false
required
boolean = false
selectOnFocus
boolean = false
size
Orion.Size = 'md'
suffixFontIcon
string = undefined
suffixIcon
Orion.Icon = undefined
type
string | Orion.DatepickerType = 'text'
validation
string | ((val: any) => boolean) | Orion.Validator.Rule | Orion.Validation.Rule | boolean = undefined
validationErrorMessage
string = undefined
Events
Name
Payload type
focus
FocusEvent
blur
FocusEvent
input
VModelType
mousedown-right
MouseEvent
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