You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| type | String | date/datetime/year/month/time | 'date' | select date type |
75
-
| range | Boolean | — | false |if true, the type is daterange or datetimerange |
76
-
| format | String | — | YYYY-MM-DD |The parsing tokens are similar to the moment.js |
77
-
| value-type | String/Object | date/format/timestamp | 'date' |type of binding value. If not specified, the binding value will be a Date object(see [detail](#value-type))|
78
-
| lang | String/Object| en/zh/es/pt-br/fr/ru/de/it/cs | zh | Translation (set [how to custom](#lang))|
79
-
| clearable | Boolean | — | true |if false, don't show the clear icon |
80
-
| confirm | Boolean | — | false |if true, need click the button to change the value |
81
-
| editable | Boolean | — | true |if false, user cann't type it |
| confirm-text | String | — | 'OK' |the default text to display on confirm button |
97
-
| range-separator | String | — | '~'| the range separator text |
98
-
| date-format | String | — | '' |format the time header and tooltip |
84
+
| Prop | Description | Type |Default |
85
+
|------|--------------|-------|---------|
86
+
| type | select date type | 'date' \| 'datetime' \| 'year' \| 'month' \| 'time' | 'date'|
87
+
| range |if true, the type is daterange or datetimerange |`boolean`| false|
88
+
| format | format the Date. The parsing tokens are similar to the moment.js |[token](https://github.com/taylorhakes/fecha#formatting-tokens)| 'YYYY-MM-DD' |
89
+
| value-type |type of binding value. If not specified, the binding value will be a Date object|[value-type](#value-type)| 'date'|
90
+
| lang | Translation|[lang](#lang)| 'zh'|
91
+
| clearable |if false, don't show the clear icon |`boolean`| true|
92
+
| confirm |if true, need click the button to change the value |`boolean`| false|
93
+
| editable |if false, user cann't type it |`boolean`| true|
94
+
| disabled |Disable the component |`boolean`| false|
95
+
| placeholder |input placeholder text |`string`| —|
96
+
| width | input size |`string`\|`number`| 210 |
97
+
| append-to-body |append the popup to body |`boolean`| false|
98
+
| popupStyle |popup style(override the top, left style) |`object`| —|
99
+
| not-before |Disable all dates before new Date(not-before) |`string`\|`Date`| ''|
100
+
| not-after |Disable all dates after new Date(not-after) |`string`\|`Date`| ''|
101
+
| disabled-days | Disable Days |`(date) => boolean`| -|
102
+
| shortcuts |the shortcuts for the range picker |[shortcuts](#shortcuts)| true|
0 commit comments