diff options
author | MG12 <wuzhao.mail@gmail.com> | 2015-11-18 12:13:45 +0800 |
---|---|---|
committer | MG12 <wuzhao.mail@gmail.com> | 2015-11-18 12:13:45 +0800 |
commit | 6c6cb0fbfc159cff7ebd1c7ef9d7f5a547e57e61 (patch) | |
tree | 559271c8def8ace5d395272bc99f3132aa7e92d1 /src | |
parent | aa2be65d742c42382b17c02d69a756762793ce39 (diff) | |
download | time-picker-6c6cb0fbfc159cff7ebd1c7ef9d7f5a547e57e61.tar.gz time-picker-6c6cb0fbfc159cff7ebd1c7ef9d7f5a547e57e61.tar.zst time-picker-6c6cb0fbfc159cff7ebd1c7ef9d7f5a547e57e61.zip |
clear input content when click [x] on select panel
Diffstat (limited to 'src')
-rw-r--r-- | src/TimePicker.jsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index 02ed5a2..eb413cb 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx | |||
@@ -72,7 +72,6 @@ const Picker = React.createClass({ | |||
72 | }, | 72 | }, |
73 | 73 | ||
74 | onPanelClear() { | 74 | onPanelClear() { |
75 | this.setOpen(false); | ||
76 | }, | 75 | }, |
77 | 76 | ||
78 | onVisibleChange(open) { | 77 | onVisibleChange(open) { |