mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-12 03:42:27 +03:00
fix: sync selectedValue and inputValue on opening (#640)
This commit is contained in:
@@ -208,6 +208,13 @@ export default {
|
||||
this.currentValue = val;
|
||||
},
|
||||
},
|
||||
popupVisible: {
|
||||
handler(val) {
|
||||
if (val) {
|
||||
this.currentValue = this.innerValue;
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
created() {
|
||||
if (typeof this.format === 'object') {
|
||||
|
||||
Reference in New Issue
Block a user