Skip to content

Commit

Permalink
Fixed #107 - Calendar clear button does not reset the input field
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Dec 20, 2019
1 parent e5d88dc commit a2b180f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ export default {
event.preventDefault();
},
onClearButtonClick(event) {
this.inputFieldValue = '';
this.updateModel(null);
this.overlayVisible = false;
this.$emit('clear-click', event);
Expand Down

0 comments on commit a2b180f

Please sign in to comment.