The DateRangePicker enables the users to enter a localized date range using touch, mouse, keyboard input, or by selecting a date range in the calendar.
The user can enter a date by:
Using the calendar that opens in a popup or typing it in directly in the input field (not available for mobile devices).
For the ui5-daterange-picker
The ui5-daterange-picker provides advanced keyboard handling.
When the ui5-daterange-picker input field is focused the user can
increment or decrement respectively the range start or end date, depending on where the cursor is.
The following shortcuts are available:
[Page Down] - Decrements the corresponding day of the month by one
[Shift] + [Page Down] - Decrements the corresponding month by one
[Shift] + [Ctrl] + [Page Down] - Decrements the corresponding year by one
[Page Up] - Increments the corresponding day of the month by one
[Shift] + [Page Up] - Increments the corresponding month by one
[Shift] + [Ctrl] + [Page Up] - Increments the corresponding year by one
Defines a short hint, intended to aid the user with data entry when the component has no value. Note: When no placeholder is set, the format pattern is displayed as a placeholder. Passing an empty string as the value of this property will make the component appear empty - without placeholder or format pattern.
Determines the name by which the component will be identified upon submission in an HTML form. Note: This property is only applicable within the context of an HTML Form element.
Defines the visibility of the week numbers column. Note: For calendars other than Gregorian, the week numbers are not displayed regardless of what is set.
Determines the minimum date available for selection. Note: If the formatPattern property is not set, the minDate value must be provided in the ISO date format (yyyy-MM-dd).
Determines the maximum date available for selection. Note: If the formatPattern property is not set, the maxDate value must be provided in the ISO date format (yyyy-MM-dd).
Defines how to calculate calendar weeks and first day of the week. If not set, the calendar will be displayed according to the currently set global configuration.