Fixed #4938 - Calendar: Input value is not updated when model is changed externally
parent
8a79cdecff
commit
65ecb9fb97
|
@ -563,14 +563,17 @@ export default {
|
||||||
id: function (newValue) {
|
id: function (newValue) {
|
||||||
this.d_id = newValue || UniqueComponentId();
|
this.d_id = newValue || UniqueComponentId();
|
||||||
},
|
},
|
||||||
modelValue(newValue) {
|
modelValue: {
|
||||||
this.updateCurrentMetaData();
|
deep: true,
|
||||||
|
handler(newValue) {
|
||||||
|
this.updateCurrentMetaData();
|
||||||
|
|
||||||
if (!this.typeUpdate && !this.inline && this.input) {
|
if (!this.typeUpdate && !this.inline && this.input) {
|
||||||
this.input.value = this.formatValue(newValue);
|
this.input.value = this.formatValue(newValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.typeUpdate = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.typeUpdate = false;
|
|
||||||
},
|
},
|
||||||
showTime() {
|
showTime() {
|
||||||
this.updateCurrentMetaData();
|
this.updateCurrentMetaData();
|
||||||
|
|
Loading…
Reference in New Issue