diff options
author | 偏右 <afc163@gmail.com> | 2017-10-22 16:38:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-22 16:38:04 +0800 |
commit | f0ac29c61df164ab3e867ef86137faa13d85a87f (patch) | |
tree | 6b1baa2373001870fa00310da36d46b21e8a43c8 /src/Panel.jsx | |
parent | cc2dca8a2bb0bf3b820903043be2586fb413c458 (diff) | |
parent | 8a116e355bfabda48537be06d21cf01fdceaa8b7 (diff) | |
download | time-picker-f0ac29c61df164ab3e867ef86137faa13d85a87f.tar.gz time-picker-f0ac29c61df164ab3e867ef86137faa13d85a87f.tar.zst time-picker-f0ac29c61df164ab3e867ef86137faa13d85a87f.zip |
Merge branch 'master' into picker-step
Diffstat (limited to 'src/Panel.jsx')
-rw-r--r-- | src/Panel.jsx | 6 |
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 |