diff options
author | Wei Zhu <yesmeck@gmail.com> | 2018-02-23 11:22:52 +0800 |
---|---|---|
committer | Wei Zhu <yesmeck@gmail.com> | 2018-02-23 11:22:52 +0800 |
commit | 90583c0d59198a931064d6363c1a92df0b3a7671 (patch) | |
tree | 873d1cb7c55a2a72d21436b53721df08e1a2134b /src | |
parent | 7211e9ba9d88c89444e7909190e7c51d298200ad (diff) | |
parent | 543a521101e7492456cdf1522fbb2f4d78355a65 (diff) | |
download | time-picker-90583c0d59198a931064d6363c1a92df0b3a7671.tar.gz time-picker-90583c0d59198a931064d6363c1a92df0b3a7671.tar.zst time-picker-90583c0d59198a931064d6363c1a92df0b3a7671.zip |
Merge branch 'JesperWe-patch-2'
Diffstat (limited to 'src')
-rw-r--r-- | src/TimePicker.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index 7659bc7..a37fec2 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx | |||
@@ -255,7 +255,7 @@ export default class Picker extends Component { | |||
255 | const { | 255 | const { |
256 | prefixCls, placeholder, placement, align, | 256 | prefixCls, placeholder, placement, align, |
257 | disabled, transitionName, style, className, getPopupContainer, name, autoComplete, | 257 | disabled, transitionName, style, className, getPopupContainer, name, autoComplete, |
258 | onFocus, onBlur, autoFocus, | 258 | onFocus, onBlur, autoFocus, inputReadOnly, |
259 | } = this.props; | 259 | } = this.props; |
260 | const { open, value } = this.state; | 260 | const { open, value } = this.state; |
261 | const popupClassName = this.getPopupClassName(); | 261 | const popupClassName = this.getPopupClassName(); |
@@ -289,6 +289,7 @@ export default class Picker extends Component { | |||
289 | onBlur={onBlur} | 289 | onBlur={onBlur} |
290 | autoFocus={autoFocus} | 290 | autoFocus={autoFocus} |
291 | onChange={noop} | 291 | onChange={noop} |
292 | readOnly={!!inputReadOnly} | ||
292 | /> | 293 | /> |
293 | <span className={`${prefixCls}-icon`}/> | 294 | <span className={`${prefixCls}-icon`}/> |
294 | </span> | 295 | </span> |