Skip to content

Commit 67e7f1e

Browse files
committed
Fix UI on new kombit user dropdown
1 parent fe6f542 commit 67e7f1e

File tree

1 file changed

+24
-27
lines changed

1 file changed

+24
-27
lines changed

src/app/admin/users/new-kombit-user-page/new-user.component.html

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -38,38 +38,35 @@ <h1>
3838
/>
3939
</div>
4040

41-
<div class="form-group mt-3 col-12">
42-
<label class="form-label" for="groupType">{{
43-
'NAV.ORGANISATIONS' | translate
44-
}}</label
45-
>*
46-
<mat-form-field appearance="outline">
47-
<mat-label>{{ 'NAV.ORGANISATIONS' | translate }}</mat-label>
48-
<mat-select
49-
multiple
50-
name="organisations"
51-
[compareWith]="compare"
52-
[(ngModel)]="
53-
createNewKombitUserFromFrontend.requestedOrganizations
54-
"
55-
panelClass="overflow-x-hidden"
56-
aria-required="true"
57-
>
58-
<mat-select-search
59-
[formControl]="organisationsFilterCtrl"
60-
></mat-select-search>
41+
<div class="form-group mt-3 mb-4 col-12">
42+
<label class="form-label" for="organisations">{{'NAV.ORGANISATIONS' | translate}}</label>*
43+
<mat-select
44+
id="organisations"
45+
name="organisations"
46+
class="form-control"
47+
[placeholder]="'NAV.ORGANISATIONS' | translate"
48+
[multiple]="true"
49+
[compareWith]="compare"
50+
[(ngModel)]="
51+
createNewKombitUserFromFrontend.requestedOrganizations
52+
"
53+
panelClass="overflow-x-hidden"
54+
aria-required="true"
55+
>
56+
<mat-select-search
57+
[formControl]="organisationsFilterCtrl"
58+
></mat-select-search>
6159

62-
<mat-option
63-
*ngFor="let org of filteredOrganisations | async"
64-
[value]="org"
65-
>{{ org.name }}</mat-option
66-
>
60+
<mat-option
61+
*ngFor="let org of filteredOrganisations | async"
62+
[value]="org"
63+
>{{ org.name }}</mat-option
64+
>
6765
</mat-select>
68-
</mat-form-field>
6966
</div>
7067
</div>
7168
<div class="form-group mt-3">
72-
<button class="btn btn-primary ml-2" type="submit">
69+
<button class="btn btn-primary" type="submit">
7370
{{ 'USERS.SAVE' | translate }}
7471
</button>
7572
</div>

0 commit comments

Comments
 (0)