Is it possible to pass different values to the .ts
file in each function? For example, can I emit a String with
(selectionChange)="onChangeLogr($event)"
and an object with (onSelectionChange)="onChangeLogr_($event)"
? How would I go about doing this?
<mat-form-field fxLayout="column" fxFlex="100%" fxFlex.xs="100%">
<mat-select matInput id="txtAdress"
[placeholder]="'Select' | translate: moduleName"
[(ngModel)]="codAdress"
(selectionChange)="onChangeLogr($event)"
(onSelectionChange)="onChangeLogr_($event)">
<mat-option *ngFor="let logr of listLogr" [value]="logr.cod">
{{ getLogr(logr) }}
</mat-option>
</mat-select>
</mat-form-field>