Commits

Jeppe Gravgaard authored d2d24cfdcc9
deleted index based on Ronnie's comment
No tags

src/app/role-selector/role-selector.component.html

Modified
13 13 </mat-select>
14 14 </mat-form-field>
15 15 </div>
16 16
17 17 <div class="userInput">
18 18 <span> Vælg organisation </span>
19 19 <mat-form-field appearance="outline">
20 20 <input [formControl]="organizationFormControl" type="text" placeholder="Organisation" aria-label="Number"
21 21 appearance="outline" matInput [matAutocomplete]="auto">
22 22 <mat-autocomplete autoActiveFirstOption #auto="matAutocomplete">
23 - <mat-option *ngFor="let sorItem of lookUp$ | async; let index = index" [value]="sorItem.name"
23 + <mat-option *ngFor="let sorItem of lookUp$ | async" [value]="sorItem.name"
24 24 (click)="selectSor(sorItem)">
25 25 {{sorItem.name}} - {{sorItem.sorId}}
26 26 </mat-option>
27 27 </mat-autocomplete>
28 28 </mat-form-field>
29 29
30 30 </div>
31 31
32 32
33 33 </ng-template>
34 34 </div>

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut