Browse Source

controlled DatePicker should not be clear

pull/4303/head
afc163 8 years ago
parent
commit
ecd2e57ef2
  1. 1
      components/date-picker/createPicker.tsx

1
components/date-picker/createPicker.tsx

@ -50,7 +50,6 @@ export default function createPicker(TheCalendar) {
clearSelection(e) {
e.preventDefault();
e.stopPropagation();
this.setState({ value: null });
this.handleChange(null);
},

Loading…
Cancel
Save