From f7ac9a8acfe3181a4fe28b72c2a9f75f3f5e0c09 Mon Sep 17 00:00:00 2001 From: Jesper We Date: Thu, 22 Feb 2018 09:38:49 +0100 Subject: Page input field should follow the readOnly input prop. --- src/TimePicker.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { 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(); -- cgit v1.2.3