diff --git a/components/time-picker/index.en-US.md b/components/time-picker/index.en-US.md index edece4430e..64aff2f541 100644 --- a/components/time-picker/index.en-US.md +++ b/components/time-picker/index.en-US.md @@ -38,13 +38,13 @@ import moment from 'moment'; | getPopupContainer | to set the container of the floating layer, while the default is to create a div element in body | function(trigger) | - | | hideDisabledOptions | hide the options that can not be selected | boolean | false | | hourStep | interval between hours in picker | number | 1 | +| inputReadOnly | Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices) | boolean | false | | minuteStep | interval between minutes in picker | number | 1 | | open | whether to popup panel | boolean | false | | placeholder | display when there's no value | string | "Select a time" | | popupClassName | className of panel | string | '' | | secondStep | interval between seconds in picker | number | 1 | | use12Hours | display as 12 hours format, with default format `h:mm:ss a` | boolean | false | -| inputReadOnly | Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices) | boolean | false | | value | to set time | [moment](http://momentjs.com/) | - | | onChange | a callback function, can be executed when the selected time is changing | function(time: moment, timeString: string): void | - | | onOpenChange | a callback function which will be called while panel opening/closing | (open: boolean): void | - | diff --git a/components/time-picker/index.zh-CN.md b/components/time-picker/index.zh-CN.md index 37a3877e32..b6e339f6f0 100644 --- a/components/time-picker/index.zh-CN.md +++ b/components/time-picker/index.zh-CN.md @@ -39,6 +39,7 @@ import moment from 'moment'; | getPopupContainer | 定义浮层的容器,默认为 body 上新建 div | function(trigger) | 无 | | hideDisabledOptions | 隐藏禁止选择的选项 | boolean | false | | hourStep | 小时选项间隔 | number | 1 | +| inputReadOnly | 设置输入框为只读(避免在移动设备上打开虚拟键盘)| boolean | false | | minuteStep | 分钟选项间隔 | number | 1 | | open | 面板是否打开 | boolean | false | | placeholder | 没有值的时候显示的内容 | string | "请选择时间" |