DateTimePickerComponent

This component allows you to create a datetime component. It depends on ValidationObserver, extend and required from Vee Validate.

Example

DateTimePickerComponent

<date-time-picker-component
    label="Label",
    placeholder="Placeholder",
    :min-date-time="new Date()",
    :show-clear-button="true",
    :show-now-button="true",
    :append-to-body="true",
    position="is-top-right"
/>

Props

NameDescriptionTypeRequiredDefault
valueInner value of the componentfalsenull
horizontalAllows you to indicate if the component will be horizontal or notBooleanfalsetrue
focusableSame as focusable in Buefy b-timepickerBooleanfalsetrue
hourFormatAllows you to indicate the hour formatStringfalse"24"
localeLocale string {en, es ...} for display language on componentStringfalse"es-MX"
convertUnitAllows you to indicate the unit of convertionStringfalse""
showClearButtonAllows you to indicate if the today button will be displayed or notBooleanfalsefalse
showNowButtonAllows you to indicate if the now button will be displayed or notBooleanfalsefalse
minTimeAllows you to indicate the selectable min timeDatefalse-
maxTimeAllows you to indicate the selectable max timeDatefalse-
editableAllows you to indicate if the time is editableBooleanfalsetrue
isRequiredAllows you to indicate if the time is requiredBooleanfalsetrue
labelInsideAllows you to indicate if the label will be inside of the inputBooleanfalsefalse
labelOnBorderAllows you to indicate if the label will be on the border of the inputBooleanfalsefalse
mobileNativeSame as mobile-native in Buefy b-timepickerBooleanfalsefalse
enableSecondsAllows you to indicate if the seconds will be enabled or notBooleanfalsetrue
inlineSame as inline in Buefy b-timepickerBooleanfalsefalse
loadingSame as loading in Buefy b-timepickerBooleanfalsefalse
positionSame as position in Buefy b-timepickerStringfalse"is-bottom-right"
appendToBodySame as append-to-body in Buefy b-timepickerBooleanfalsefalse
formatAllows you to indicate the format of the returned datetimeStringfalse"DD/MM/YYYY HH:mm"
sizeSame as size in Buefy b-timepickerStringfalseundefined
validationModeValidation mode to ValidationProviderStringfalse"eager"
hideValidationAllows you to indicate if show validation or notBooleanfalsefalse
minDateTimeAllows you to indicate the selectable min datetimeDatefalse-
maxDateTimeAllows you to indicate the selectable max datetimeDatefalse-
typeSame as type in Buefy b-datetimepickerStringfalseundefined
rangeSame as range in Buefy b-datetimepickerBooleanfalsefalse
mobileModalSame as mobile-modal in Buefy b-datetimepickerBooleanfalsetrue
datepickerSame as datepicker in Buefy b-datetimepickerObjectfalseundefined
timepickerSame as timepicker in Buefy b-datetimepickerObjectfalseundefined

Events

Event NameDescriptionParameters
input--