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 | |
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
-rw-r--r-- | HISTORY.md | 5 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/TimePicker.jsx | 1 |
3 files changed, 6 insertions, 2 deletions
@@ -3,6 +3,11 @@ History | |||
3 | 3 | ||
4 | --- | 4 | --- |
5 | 5 | ||
6 | 0.4.0 / 2015-11-18 | ||
7 | ------------------ | ||
8 | |||
9 | `update` clear input content when click [x] on select panel. | ||
10 | |||
6 | 0.3.3 / 2015-11-17 | 11 | 0.3.3 / 2015-11-17 |
7 | ------------------ | 12 | ------------------ |
8 | 13 | ||
diff --git a/package.json b/package.json index 13c2ded..4069888 100644 --- a/package.json +++ b/package.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "name": "rc-time-picker", | 2 | "name": "rc-time-picker", |
3 | "version": "0.3.3", | 3 | "version": "0.4.0", |
4 | "description": "React TimePicker", | 4 | "description": "React TimePicker", |
5 | "keywords": [ | 5 | "keywords": [ |
6 | "react", | 6 | "react", |
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) { |