aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMG12 <wuzhao.mail@gmail.com>2015-11-18 12:13:45 +0800
committerMG12 <wuzhao.mail@gmail.com>2015-11-18 12:13:45 +0800
commit6c6cb0fbfc159cff7ebd1c7ef9d7f5a547e57e61 (patch)
tree559271c8def8ace5d395272bc99f3132aa7e92d1
parentaa2be65d742c42382b17c02d69a756762793ce39 (diff)
downloadtime-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.md5
-rw-r--r--package.json2
-rw-r--r--src/TimePicker.jsx1
3 files changed, 6 insertions, 2 deletions
diff --git a/HISTORY.md b/HISTORY.md
index 21cbbb9..cdb782a 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -3,6 +3,11 @@ History
3 3
4--- 4---
5 5
60.4.0 / 2015-11-18
7------------------
8
9`update` clear input content when click [x] on select panel.
10
60.3.3 / 2015-11-17 110.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) {