0
I basically have this mat-select
:
<mat-select [formControl]="form.get('emptyTitle')" placeholder="Nenhum Índice Selecionado"
(selectionChange)="onSelect($event)">
<mat-option value="">Nenhum Índice Selecionado</mat-option>
<div *ngFor="let indice of indices">
<mat-option [value]="indice._id">{{indice._source.titulo}}</mat-option>
</div>
</mat-select>
The problem is I need to call the function onSelect
again, and obviously the observer (selectionChange)
does not capture this selection, since it is the same.
Is there any way to recall this selection that is already selected?
I didn’t really think about it as soon as possible I will test, but it will probably work kkkkk
– Matheus Ribeiro
Any questions just ask :D
– Marcos Filipe
I did that, but took the (selectionChange) not to give Rigger twice in different selections kkkk
– Matheus Ribeiro