Improve selection in reference table

urls
Max 4 years ago
parent bda1024cdd
commit c078abc23c

@ -5,6 +5,7 @@
<input <input
type="text" type="text"
matInput matInput
#trigger="matAutocompleteTrigger"
placeholder="Element hinzufügen" placeholder="Element hinzufügen"
formControlName="addGroup" formControlName="addGroup"
[matAutocomplete]="autoGroup" [matAutocomplete]="autoGroup"
@ -13,7 +14,7 @@
<mat-option <mat-option
*ngFor="let element of possibleValueOptions" *ngFor="let element of possibleValueOptions"
[value]="nameToShowInSelection(element)" [value]="nameToShowInSelection(element)"
(click)="addReference(element)" (click)="addReference(element); $event.stopPropagation(); trigger.openPanel()"
> >
{{ nameToShowInSelection(element) }} {{ nameToShowInSelection(element) }}
</mat-option> </mat-option>

Loading…
Cancel
Save