OrionDatepicker

Usage

<o-datepicker> affiche un sélecteur de date, de période ou de semaine selon la configuration choisie, comme dans la démo ci-dessous.

L'heure peut également être affichée et définie. Jetez un oeil au playground.

DatepickerType DatepickerDate DatepickerDisplay DatepickerPlayground

Props

Name
autofocusboolean = false
clearableboolean = false
clearToNullboolean = false
disabledboolean = false
disablePopoverboolean = false
displayWeekNumberboolean = false
donetypingnumber = 0
forceLabelFloatingboolean = false
hideDisabledboolean = false
inheritValidationStateboolean = undefined
labelstring = undefined
maxDateUndef<Date> = undefined
minDateUndef<Date> = undefined
modelValueT = undefined
multipleDate[] = () => []
multipleLabelColorOrion.ColorExtendedAndGreys = 'default'
prefixFontIconstring = undefined
prefixIconOrion.Icon = undefined
preserveTimeboolean = false
rangeUndef<Orion.DateRange> = undefined
readonlyboolean = false
requiredboolean = false
selectOnFocusboolean = false
sizeOrion.Size = 'md'
suffixFontIconstring = undefined
suffixIconOrion.Icon = undefined
timeboolean = false
typeOrion.DatepickerType = 'date'
validationstring | ((val: any) => boolean) | Orion.Validator.Rule | Orion.Validation.Rule | boolean = undefined
validationErrorMessagestring = undefined
valueDisplayFormatFunction = undefined

Events

Name
Payload type
focus
FocusEvent
blur
FocusEvent
input
VModelType
change
VModelType
update:modelValue
VModelType
clear
No payload
update:range
Nil<Orion.DateRange>
update:multiple
Date[]

Slots

Name
Bindings
multipleDisplay
datas: Date[]
close: (date: Date) => void
popper
No bindings

PublicInstance

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