Do not show panel when disabled
parent
4ff5e1b75b
commit
0d78ef372e
|
@ -618,12 +618,14 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onButtonClick() {
|
onButtonClick() {
|
||||||
if (!this.overlayVisible) {
|
if (this.isEnabled()) {
|
||||||
this.$refs.input.$el.focus();
|
if (!this.overlayVisible) {
|
||||||
this.overlayVisible = true;
|
this.$refs.input.$el.focus();
|
||||||
}
|
this.overlayVisible = true;
|
||||||
else {
|
}
|
||||||
this.overlayVisible = false;
|
else {
|
||||||
|
this.overlayVisible = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isDateDisabled(day, month, year) {
|
isDateDisabled(day, month, year) {
|
||||||
|
|
Loading…
Reference in New Issue