aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Panel.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Panel.jsx')
-rw-r--r--src/Panel.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Panel.jsx b/src/Panel.jsx
index 8a6c872..957c021 100644
--- a/src/Panel.jsx
+++ b/src/Panel.jsx
@@ -40,6 +40,7 @@ class Panel extends Component {
40 onClear: PropTypes.func, 40 onClear: PropTypes.func,
41 use12Hours: PropTypes.bool, 41 use12Hours: PropTypes.bool,
42 addon: PropTypes.func, 42 addon: PropTypes.func,
43 focusOnOpen: PropTypes.bool,
43 onKeyDown: PropTypes.func, 44 onKeyDown: PropTypes.func,
44 }; 45 };
45 46
@@ -91,7 +92,7 @@ class Panel extends Component {
91 const { 92 const {
92 prefixCls, className, placeholder, disabledHours, disabledMinutes, 93 prefixCls, className, placeholder, disabledHours, disabledMinutes,
93 disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond, 94 disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond,
94 format, defaultOpenValue, clearText, onEsc, addon, use12Hours, onClear, onKeyDown, 95 format, defaultOpenValue, clearText, onEsc, addon, use12Hours, onClear, focusOnOpen, onKeyDown,
95 } = this.props; 96 } = this.props;
96 const { 97 const {
97 value, currentSelectPanel, 98 value, currentSelectPanel,
@@ -124,6 +125,7 @@ class Panel extends Component {
124 onChange={this.onChange} 125 onChange={this.onChange}
125 onClear={onClear} 126 onClear={onClear}
126 allowEmpty={allowEmpty} 127 allowEmpty={allowEmpty}
128 focusOnOpen={focusOnOpen}
127 onKeyDown={onKeyDown} 129 onKeyDown={onKeyDown}
128 /> 130 />
129 <Combobox 131 <Combobox