Hello I have dropdown menu with checkboxes and I have a problem with call function when click on dropdown menu item. Here is my code:
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li *ngFor="let filter of column.filters">
<div class="checkbox">
<label><input type="checkbox" value="" #checkbox [(ngModel)]="filter.checked"
(ngModelChange)="onSelectFilter(column)">{{filter.value}}</label>
</div>
</li>
</ul>
Function onSelectFilter() is not called when checkbox is checked (I need to call with uncheck).
What event I must use when I need call method with check and uncheck?
Thanks