diff --git a/README.md b/README.md index 17c0b4e..ccd31a1 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ export default { | input-class | String | 'mx-input' | the input class name | | confirm-text | String | 'OK' | the default text to display on confirm button | | disabled | Boolean | false | Disable the component | +| editable | Boolean | false | if true, user can type it(only the range is false)| #### shortcuts * true - show the default shortcuts diff --git a/README_CN.md b/README_CN.md index 8c729ed..896d6a3 100644 --- a/README_CN.md +++ b/README_CN.md @@ -66,7 +66,8 @@ export default { | first-day-of-week | Number | 7 | 设置日历星期几开头(1-7) | input-class | String | 'mx-input' | 自定义输入框的类名 | confirm-text | String | 'OK' | 确认按钮的名称 -| disabled | Boolean | false | 禁用组件 +| disabled | Boolean | false | 禁用组件 +| editable | Boolean | false | 如果是true, 用户可以手动输入 (仅在range === false) #### shortcuts * true - 显示默认快捷选择 diff --git a/package.json b/package.json index 2773475..b13fb89 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vue2-datepicker", "description": "A Datepicker Component For Vue2", "main": "dist/build.js", - "version": "1.8.3", + "version": "1.9.0", "scripts": { "dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot", "demo": "cross-env NODE_ENV=production webpack --progress --hide-modules --config webpack.demo.config.js",