Datetime Range
When you need to specify a date, time or datetime interval, use DatetimeRange component.
Before diving in, make sure you know how to configure a Datetime component as this one supports the exactly same properties.
Basic Usage
| 
 | 
Vue Properties
Following properties are optional.
| Vue Property | Description | 
|---|---|
| type | One of date,timeordatetimestrings. | 
| min | Minimum datetime at which selection can start. | 
| max | Maximum datetime at which selection can stop. | 
| format | Format in MomentJs style of how input displays date and/or time. | 
| ok-label | Label for “OK” button on mobile Dialog. | 
| cancel-label | Label for “Cancel” button on mobile Dialog. | 
| clear-label | Label for “Clear” button on mobile Dialog. | 
| label | (Floating) label to use. | 
| placeholder | Placeholder text to use. | 
| static-label | Overrides labelandplaceholderand selected value. Display this label always regardless of selection status. | 
| default-selection | Set default date/time (as Momentjs string) when Popover is shown and no value is yet selected. | 
| readonly | When set to truethe model cannot be altered. | 
| disable | When set to truethe model cannot be altered. | 
The model needs to be an Object with
{to, from}String properties, same as the model used for Datetime component.
Vue Events
| Vue Event | Description | 
|---|---|
| @input | Triggered when model (Object with toandfromprops) changes | 
 Quasar
 Quasar