2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-22 23:20:36 +03:00

feat: add prop inputAttr

This commit is contained in:
mxie
2019-01-08 10:21:59 +08:00
parent 1d0a67bc5a
commit 23810899ae
3 changed files with 19 additions and 3 deletions
+1
View File
@@ -92,6 +92,7 @@ export default {
| first-day-of-week | Number | 7 | set the first day of week (1-7) |
| input-class | String | 'mx-input' | the input class name |
| input-name | String | 'date' | the input name attr |
| input-attr | Object | | the input attr(eg: { required: true, id: 'input'}) |
| confirm-text | String | 'OK' | the default text to display on confirm button |
| range-separator | String | '~' | the range separator text |
| date-format | String | '' | format the time header and tooltip |