Fixed #4938 - Calendar: Input value is not updated when model is changed externally

pull/5656/head
tugcekucukoglu 2024-04-24 13:13:07 +03:00
parent 8a79cdecff
commit 65ecb9fb97
1 changed files with 9 additions and 6 deletions

View File

@ -563,7 +563,9 @@ export default {
id: function (newValue) {
this.d_id = newValue || UniqueComponentId();
},
modelValue(newValue) {
modelValue: {
deep: true,
handler(newValue) {
this.updateCurrentMetaData();
if (!this.typeUpdate && !this.inline && this.input) {
@ -571,6 +573,7 @@ export default {
}
this.typeUpdate = false;
}
},
showTime() {
this.updateCurrentMetaData();