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