mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-24 10:50:37 +03:00
fix: don't change default open state when datepicker disabled (#630)
This commit is contained in:
+1
-1
@@ -355,7 +355,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
openPopup(evt) {
|
openPopup(evt) {
|
||||||
if (this.popupVisible) return;
|
if (this.popupVisible || this.disabled) return;
|
||||||
this.defaultOpen = true;
|
this.defaultOpen = true;
|
||||||
this.$emit('open', evt);
|
this.$emit('open', evt);
|
||||||
this.$emit('update:open', true);
|
this.$emit('update:open', true);
|
||||||
|
|||||||
Reference in New Issue
Block a user