ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
388 stars 48 forks source link

[Bug] [Mtx-Select] Events stopped working #271

Closed marcelimati closed 4 months ago

marcelimati commented 4 months ago

Version v16.1.3 is last version that event is firing.

Both versions: v16.2.0 and v16.3.0

Events like (change) and (clear) - probably all others too stopped working

<-- html file -->
<mtx-select [items]="items" formControlName="person" bindLabel="name" bindValue="id" (change)="log($event)" (clear)="log(event)"></mtx-select>

<-- ts file -->
log(event: any) {
    console.log(event) // fires always undefined
}
nzbin commented 4 months ago

16.3.1 has fixed this issue, please have a try.

marcelimati commented 4 months ago

It works now, thanks.