mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2754] People component tests fixed and style improvement (#3414)
* tests fixed and style * show people test fixed * error message test fixed
This commit is contained in:
committed by
Maurizio Vitale
parent
4a0960e11e
commit
465a2d090d
@@ -11,10 +11,10 @@
|
||||
[id]="field.id"
|
||||
[formControl] ="searchTerm"
|
||||
[value]="getDisplayName(field.value)"
|
||||
[disabled]="field.readOnly"
|
||||
[attr.disabled]="field.readOnly"
|
||||
placeholder="{{field.placeholder}}"
|
||||
[matAutocomplete]="auto">
|
||||
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="onItemSelect($event.option.value)" [displayWith]="getDisplayName">
|
||||
<mat-autocomplete class="adf-people-widget-list" #auto="matAutocomplete" (optionSelected)="onItemSelect($event.option.value)" [displayWith]="getDisplayName">
|
||||
<mat-option *ngFor="let user of users$ | async; let i = index" [value]="user">
|
||||
<div class="adf-people-widget-row" id="adf-people-widget-user-{{i}}">
|
||||
<div [outerHTML]="user | usernameInitials:'adf-people-widget-pic'"></div>
|
||||
|
@@ -9,6 +9,11 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&-people-widget-list {
|
||||
margin: 5px 0;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
&-people-widget-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
Reference in New Issue
Block a user