]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
Page input field should follow the readOnly input prop.
authorJesper We <jesper@journeyman.se>
Thu, 22 Feb 2018 08:38:49 +0000 (09:38 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2018 08:38:49 +0000 (09:38 +0100)
src/TimePicker.jsx

index cb7593d3c1827d63b60d5dbed18e4d6fb9c0268c..e330b687aefc49e30623760b95b262b131ca3914 100644 (file)
@@ -255,7 +255,7 @@ export default class Picker extends Component {
     const {
       prefixCls, placeholder, placement, align,
       disabled, transitionName, style, className, getPopupContainer, name, autoComplete,
-      onFocus, onBlur, autoFocus,
+      onFocus, onBlur, autoFocus, inputReadOnly
     } = this.props;
     const { open, value } = this.state;
     const popupClassName = this.getPopupClassName();