Skip to main content

Date Picker


The "Date Picker" allows users to select a date directly from the calendar. It initially highlights the current date, and users can navigate to other days, months, or years to select a specific date. The date picker improves the user experience by making it easier and quicker to select a date. It reduces errors and inconsistencies in date formatting. Also, it allows you to enter the date manually (in a specific format).

Date Picker Properties

PropertyDescription
Type
(Date/Time/Date & Time)
Choose between the Date, Time, or Date & Time options.
Format
(Dropdown)
Set the display format for the selected "Type".
DateTimeDate & TIme
DatePickerDatePickerDatePicker

API Methods

setReadOnly

Sets the ReadOnly flag for this component.

setReadOnly(readOnly: boolean): void

setVisibility

Sets the Visibility flag for this component.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the visibility condition for this component.

setVisibilityCondition(condition: string): void

Event Handlers

Event handlers allow you to set triggers for various actions based on the fired events. They are as follows:

onChange

onChange - Triggers a specified action every time there's a change to the component's "value".