Commit 3881f820de703a18ed7df3ae2447fb150eff88e6

Authored by oyv1cent
1 parent d411992d

fix

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/components/date-picker/picker.vue
@@ -318,7 +318,9 @@ @@ -318,7 +318,9 @@
318 if (this.readonly) return; 318 if (this.readonly) return;
319 this.isFocused = true; 319 this.isFocused = true;
320 if (e && e.type === 'focus') return; // just focus, don't open yet 320 if (e && e.type === 'focus') return; // just focus, don't open yet
321 - this.visible = true; 321 + if(!this.disabled){
  322 + this.visible = true;
  323 + }
322 }, 324 },
323 handleBlur (e) { 325 handleBlur (e) {
324 if (this.internalFocus){ 326 if (this.internalFocus){