Fixed #110 - Disabled Dropdown still picking values
parent
69c6950330
commit
e5aebec4d6
|
@ -239,6 +239,10 @@ export default {
|
||||||
this.updateModel(event, null);
|
this.updateModel(event, null);
|
||||||
},
|
},
|
||||||
onClick(event) {
|
onClick(event) {
|
||||||
|
if (this.disabled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (DomHandler.hasClass(event.target, 'p-dropdown-clear-icon')) {
|
if (DomHandler.hasClass(event.target, 'p-dropdown-clear-icon')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue