Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| format | String | No | Format: yyyy-MM-dd, HH:mm, yyyy-MM-dd HH:mm, yyyy-MM, yyyy |
| currentDate | String | No | Initial selected date |
| startDate | String | No | Minimum selectable date |
| endDate | String | No | Maximum selectable date |
| success | Function | No | Callback with selected date |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Success Callback
| Property | Type | Description |
|---|---|---|
| date | String | Selected date in specified format |
Code Example
Related APIs
my.multiLevelSelect
Multi-level selector