Refactor on Calendar
parent
ee8a4d7a12
commit
4f8676d092
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue