该组件和 Datetime 组件不同的地方是年月日集中显示在一栏,适合范围不大的日期选择。
需要在Group组件里使用
API
Props
| name | type | default | description | required version |
| title | string | label text | -- | |
| value | array | form's value, use v-model for binding. For example, ['2017-01-15', '03', '05'] | -- | |
| inline-desc | string | description of the cell | -- | |
| placeholder | string | placeholder, works when value is empty | -- | |
| start-date | string | start date (YYYY-MM-DD) | -- | |
| end-date | string | end date (YYYY-MM-DD) | -- | |
| format | string | YYYY-MM-DD | display format for date column | -- |
Events
| name | params | description | required version |
| @on-change | (value) | $emits when value changes, (newVal) | -- |
Contributors
Contributors
Total commits quantity: 10,Total contributors quantity: 2
airylandQiongrong JiangChangelog
Releases
- v2.2.0 [enhance] Use better column width
- v2.1.1-rc.9 [feature] new component #970 @327326724