Fixed #110 - Disabled Dropdown still picking values

pull/132/head
cagataycivici 2019-12-20 17:36:01 +03:00
parent 69c6950330
commit e5aebec4d6
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}