Date & time picker
Last updated
Last updated
© 2024 UI Bakery
The Date & time picker component allows you to select a date from the calendar. The component can be used to select a date or date and time depending on the component settings. The field supports multiple date and time formats, required field validation, and minimum or maximum values.
The component also allows you to set the time zone for the date and time values.
setValue(value: date| number| string)
sets data for the component
setDisabled(disabled: boolean)
enables or disables the component
reset()
resets the component to the initial value
validate()
triggers component's validation
resetValidation()
resets the validation
focus()
sets focus on the component
Triggers allow you to launch certain actions based on different events.
On Init
Calls for an action on component initialization, e.g., page refresh
On Change
Calls for an action on the component's state change
On Enter
Calls for an action on Enter click
On Focus
Calls for an action on component's focus
On Blur
Calls for an action on component's blur