Date picker

The Date picker component allows you to select a date from the calendar. The field supports multiple date formats, required field, and minimum or maximum dates.

The component also allows you to set the time zone for the date values.

Manage Date object time zones

Methods

MethodDescription

setValue(value: date/ number/ string)

sets data for the date picker

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

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

Last updated

© 2024 UI Bakery