mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-13 09:25:12 +00:00
feat(console): MDC components (#6482)
mdc components --------- Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
co-authored by
Elio Bischof
parent
cb7b50b513
commit
b099a26a16
+4
-10
@@ -11,17 +11,11 @@
|
||||
[matAutocomplete]="auto"
|
||||
/>
|
||||
|
||||
<mat-chip-list *ngIf="!singleOutput" #chipList aria-label="name selection">
|
||||
<mat-chip
|
||||
class="chip"
|
||||
*ngFor="let selectedRole of roles"
|
||||
[selectable]="selectable"
|
||||
[removable]="removable"
|
||||
(removed)="remove(selectedRole)"
|
||||
>
|
||||
<mat-chip-grid *ngIf="!singleOutput" #chipList aria-label="name selection">
|
||||
<mat-chip-row class="chip" *ngFor="let selectedRole of roles" [removable]="removable" (removed)="remove(selectedRole)">
|
||||
{{ selectedRole.displayName }}
|
||||
<mat-icon matChipRemove *ngIf="removable">cancel</mat-icon>
|
||||
</mat-chip>
|
||||
</mat-chip-row>
|
||||
<input
|
||||
cnslInput
|
||||
placeholder="Role Name"
|
||||
@@ -33,7 +27,7 @@
|
||||
[matChipInputAddOnBlur]="addOnBlur"
|
||||
(matChipInputTokenEnd)="add($event)"
|
||||
/>
|
||||
</mat-chip-list>
|
||||
</mat-chip-grid>
|
||||
|
||||
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="selected($event)" [displayWith]="displayFn">
|
||||
<mat-option *ngIf="isLoading" class="is-loading">
|
||||
|
||||
Reference in New Issue
Block a user