Fix click issue

This commit is contained in:
Pieter Vander Vennet 2020-07-22 16:44:07 +02:00
parent 778ff757fc
commit 0f0c3eb8cf

View file

@ -28,7 +28,10 @@ export class DropDown<T> extends InputElement<T> {
for (const v of this._values) {
this.ListenTo(v.shown._source);
}
this.ListenTo(this._value)
this.ListenTo(this._value);
this.onClick(() => {}) // by registering a click, the click event is consumed and doesn't bubble furter to other elements, e.g. checkboxes
}