From 6c6cb0fbfc159cff7ebd1c7ef9d7f5a547e57e61 Mon Sep 17 00:00:00 2001 From: MG12 Date: Wed, 18 Nov 2015 12:13:45 +0800 Subject: clear input content when click [x] on select panel --- HISTORY.md | 5 +++++ package.json | 2 +- src/TimePicker.jsx | 1 - 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 --- +0.4.0 / 2015-11-18 +------------------ + +`update` clear input content when click [x] on select panel. + 0.3.3 / 2015-11-17 ------------------ diff --git a/package.json b/package.json index 13c2ded..4069888 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-time-picker", - "version": "0.3.3", + "version": "0.4.0", "description": "React TimePicker", "keywords": [ "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({ }, onPanelClear() { - this.setOpen(false); }, onVisibleChange(open) { -- cgit v1.2.3