diff options
author | Jesper We <jesper@journeyman.se> | 2018-02-22 09:38:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 09:38:49 +0100 |
commit | f7ac9a8acfe3181a4fe28b72c2a9f75f3f5e0c09 (patch) | |
tree | 2973ab35dd4adc5be21be774f397a379dcf55e13 | |
parent | b6a1d52b3761c9dce5e68bbac46cc14e9996231e (diff) | |
download | time-picker-f7ac9a8acfe3181a4fe28b72c2a9f75f3f5e0c09.tar.gz time-picker-f7ac9a8acfe3181a4fe28b72c2a9f75f3f5e0c09.tar.zst time-picker-f7ac9a8acfe3181a4fe28b72c2a9f75f3f5e0c09.zip |
Page input field should follow the readOnly input prop.
-rw-r--r-- | src/TimePicker.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index cb7593d..e330b68 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(); |