From e5aebec4d611330df04519f05ee954dca5c9fea3 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 20 Dec 2019 17:36:01 +0300 Subject: [PATCH] Fixed #110 - Disabled Dropdown still picking values --- src/components/dropdown/Dropdown.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index d2103f757..7f52856e9 100644 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -239,6 +239,10 @@ export default { this.updateModel(event, null); }, onClick(event) { + if (this.disabled) { + return; + } + if (DomHandler.hasClass(event.target, 'p-dropdown-clear-icon')) { return; }