Searches users/people.
<adf-people-search></adf-people-search>
You can provide a title for the search header and a label for the action button using
special sub-components in the body of the <adf-people-search>
element:
<adf-people-search ...>
<header-title>Custom title</header-title>
<action-button-label>Custom label</action-button-label>
</adf-people-search>
Name | Type | Default value | Description |
---|---|---|---|
results | Observable < UserProcessModel []> | Parameters for displaying the list. |
Name | Type | Description |
---|---|---|
closeSearch | EventEmitter <any> | Emitted when the "close" button is clicked. |
searchPeople | EventEmitter <any> | Emitted when a search is performed with a new keyword. |
success | EventEmitter < UserProcessModel > | Emitted when a user is selected and the action button is clicked. |
Usage example:
<adf-people-search
(searchPeople)="searchUser($event)"
(success)="involveUser($event)"
(closeSearch)="onCloseSearch()"
[results]="peopleSearch$">
<header-title>{{ 'TASK_DETAILS.LABELS.ADD_PEOPLE' | translate }}</header-title>
<action-button-label>{{ 'PEOPLE.ADD_USER' | translate }}</action-button-label>
</adf-people-search>
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.