aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Panel.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Panel.jsx')
-rw-r--r--src/Panel.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Panel.jsx b/src/Panel.jsx
index 4e09b57..a1b7c77 100644
--- a/src/Panel.jsx
+++ b/src/Panel.jsx
@@ -43,6 +43,7 @@ class Panel extends Component {
43 minuteStep: PropTypes.number, 43 minuteStep: PropTypes.number,
44 secondStep: PropTypes.number, 44 secondStep: PropTypes.number,
45 addon: PropTypes.func, 45 addon: PropTypes.func,
46 focusOnOpen: PropTypes.bool,
46 onKeyDown: PropTypes.func, 47 onKeyDown: PropTypes.func,
47 }; 48 };
48 49
@@ -94,8 +95,8 @@ class Panel extends Component {
94 const { 95 const {
95 prefixCls, className, placeholder, disabledHours, disabledMinutes, 96 prefixCls, className, placeholder, disabledHours, disabledMinutes,
96 disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond, 97 disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond,
97 format, defaultOpenValue, clearText, onEsc, addon, use12Hours, onClear, onKeyDown, 98 format, defaultOpenValue, clearText, onEsc, addon, use12Hours, onClear,
98 hourStep, minuteStep, secondStep, 99 focusOnOpen, onKeyDown, hourStep, minuteStep, secondStep,
99 } = this.props; 100 } = this.props;
100 const { 101 const {
101 value, currentSelectPanel, 102 value, currentSelectPanel,
@@ -134,6 +135,7 @@ class Panel extends Component {
134 onChange={this.onChange} 135 onChange={this.onChange}
135 onClear={onClear} 136 onClear={onClear}
136 allowEmpty={allowEmpty} 137 allowEmpty={allowEmpty}
138 focusOnOpen={focusOnOpen}
137 onKeyDown={onKeyDown} 139 onKeyDown={onKeyDown}
138 /> 140 />
139 <Combobox 141 <Combobox