mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-16 06:40:35 +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) {
|
||||
if (this.popupVisible) return;
|
||||
if (this.popupVisible || this.disabled) return;
|
||||
this.defaultOpen = true;
|
||||
this.$emit('open', evt);
|
||||
this.$emit('update:open', true);
|
||||
|
||||
Reference in New Issue
Block a user