aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/TimePicker.jsx3
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>