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 1953ad4..deeba52 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 }; 44 };
44 45
45 static defaultProps = { 46 static defaultProps = {
@@ -89,7 +90,7 @@ class Panel extends Component {
89 const { 90 const {
90 prefixCls, className, placeholder, disabledHours, disabledMinutes, 91 prefixCls, className, placeholder, disabledHours, disabledMinutes,
91 disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond, 92 disabledSeconds, hideDisabledOptions, allowEmpty, showHour, showMinute, showSecond,
92 format, defaultOpenValue, clearText, onEsc, addon, use12Hours, onClear, 93 format, defaultOpenValue, clearText, onEsc, addon, use12Hours, onClear, focusOnOpen,
93 } = this.props; 94 } = this.props;
94 const { 95 const {
95 value, currentSelectPanel, 96 value, currentSelectPanel,
@@ -122,6 +123,7 @@ class Panel extends Component {
122 onChange={this.onChange} 123 onChange={this.onChange}
123 onClear={onClear} 124 onClear={onClear}
124 allowEmpty={allowEmpty} 125 allowEmpty={allowEmpty}
126 focusOnOpen={focusOnOpen}
125 /> 127 />
126 <Combobox 128 <Combobox
127 prefixCls={prefixCls} 129 prefixCls={prefixCls}