Date range
Allows the user to select a date.
Date range orc-c-field orc-c-field--inline orc-c-field--small
Allows the user to select a date.
Usage
When to use
Ideal in any circumstance where the user needs to select dates when not interacting with the booking widget: view events, filter offers by certain dates, or make changes to dates when booking a room.
When to consider an alternative
The booking widget already includes a date range selector, so use that component if providing the entire booking journey to the user.
Class Name | Description |
---|---|
Required
|
Form field. Consists of a field label, field body, and input in most cases. |
Required
|
Add to the |
Required
|
Add to the |
JS
|
Add to the |
JS
|
Add to the |
JS
|
Add to the |
Required
|
Labels for the input fields. |
Required
|
Added to |
Required
|
Form field input that is used for the start date and end date of the datepicker |
Required
|
Used for the end date so that JS can make this visibly hidden when JS is activated. If JS fails, this is visible so the user can still fill out the date inputs and |
|
Base icon class used for the field icon in this instance. |
|
Optional icon used to display in the booking widget. Do not use for other datepicker instances. |