diff options
Diffstat (limited to 'src/Panel.jsx')
-rw-r--r-- | src/Panel.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Panel.jsx b/src/Panel.jsx index c23241d..1adb19a 100644 --- a/src/Panel.jsx +++ b/src/Panel.jsx | |||
@@ -27,7 +27,7 @@ class Panel extends Component { | |||
27 | value: PropTypes.object, | 27 | value: PropTypes.object, |
28 | placeholder: PropTypes.string, | 28 | placeholder: PropTypes.string, |
29 | format: PropTypes.string, | 29 | format: PropTypes.string, |
30 | readOnlyInput: PropTypes.bool, | 30 | inputReadOnly: PropTypes.bool, |
31 | disabledHours: PropTypes.func, | 31 | disabledHours: PropTypes.func, |
32 | disabledMinutes: PropTypes.func, | 32 | disabledMinutes: PropTypes.func, |
33 | disabledSeconds: PropTypes.func, | 33 | disabledSeconds: PropTypes.func, |
@@ -59,7 +59,7 @@ class Panel extends Component { | |||
59 | use12Hours: false, | 59 | use12Hours: false, |
60 | addon: noop, | 60 | addon: noop, |
61 | onKeyDown: noop, | 61 | onKeyDown: noop, |
62 | readOnlyInput: false, | 62 | inputReadOnly: false, |
63 | }; | 63 | }; |
64 | 64 | ||
65 | constructor(props) { | 65 | constructor(props) { |
@@ -98,7 +98,7 @@ class Panel extends Component { | |||
98 | prefixCls, className, placeholder, disabledHours, disabledMinutes, | 98 | prefixCls, className, placeholder, disabledHours, disabledMinutes, |
99 | disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond, | 99 | disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond, |
100 | format, defaultOpenValue, clearText, onEsc, addon, use12Hours, onClear, | 100 | format, defaultOpenValue, clearText, onEsc, addon, use12Hours, onClear, |
101 | focusOnOpen, onKeyDown, hourStep, minuteStep, secondStep, readOnlyInput, | 101 | focusOnOpen, onKeyDown, hourStep, minuteStep, secondStep, inputReadOnly, |
102 | } = this.props; | 102 | } = this.props; |
103 | const { | 103 | const { |
104 | value, currentSelectPanel, | 104 | value, currentSelectPanel, |
@@ -139,7 +139,7 @@ class Panel extends Component { | |||
139 | allowEmpty={allowEmpty} | 139 | allowEmpty={allowEmpty} |
140 | focusOnOpen={focusOnOpen} | 140 | focusOnOpen={focusOnOpen} |
141 | onKeyDown={onKeyDown} | 141 | onKeyDown={onKeyDown} |
142 | readOnlyInput={readOnlyInput} | 142 | inputReadOnly={inputReadOnly} |
143 | /> | 143 | /> |
144 | <Combobox | 144 | <Combobox |
145 | prefixCls={prefixCls} | 145 | prefixCls={prefixCls} |