Commit 61666e4e1d48a93ed8bc62f80ae963cd7a6a687f
Committed by
GitHub
Merge pull request #4359 from oyv1cent/fix
fix #4351
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/components/date-picker/picker.vue
| ... | ... | @@ -318,7 +318,9 @@ |
| 318 | 318 | if (this.readonly) return; |
| 319 | 319 | this.isFocused = true; |
| 320 | 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 | 325 | handleBlur (e) { |
| 324 | 326 | if (this.internalFocus){ | ... | ... |