Refactor on Calendar

pull/41/head
mertsincan 2019-08-21 17:02:33 +03:00
parent ee8a4d7a12
commit 4f8676d092
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ export default {
if (this.isMultipleSelection() && this.isSelected(dateMeta)) { if (this.isMultipleSelection() && this.isSelected(dateMeta)) {
let newValue = this.value.filter(date => !this.isDateEquals(date, dateMeta)); let newValue = this.value.filter(date => !this.isDateEquals(date, dateMeta));
this.updateModel(newValue); this.updateModel(newValue);
this.updateInputFieldValue(newValue);
} }
else { else {
if (this.shouldSelectDate(dateMeta)) { if (this.shouldSelectDate(dateMeta)) {