Merge pull request #27 from oSoc20/filter-ui

Filter ui
This commit is contained in:
Pieter Vander Vennet 2020-07-22 17:55:21 +02:00 committed by GitHub
commit 66282b289c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 331 additions and 126 deletions

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
}