mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* add infinite scrolling to sites loading * add infinite scrolling to sites loading * add infinite scrolling to sites loading
21 lines
841 B
HTML
21 lines
841 B
HTML
<div id="site-dropdown-container" class="adf-site-dropdown-container">
|
|
<mat-form-field>
|
|
<mat-select
|
|
#siteSelect
|
|
data-automation-id="site-my-files-option"
|
|
class="adf-site-dropdown-list-element"
|
|
id="site-dropdown"
|
|
placeholder="{{placeholder | translate}}"
|
|
floatPlaceholder="never"
|
|
[(value)]="selected"
|
|
(selectionChange)="selectedSite($event)">
|
|
<mat-option *ngFor="let site of siteList?.list.entries;" [value]="site">
|
|
{{ site.entry.title | translate}}
|
|
</mat-option>
|
|
<mat-option *ngIf="showLoading()" disabled="true" data-automation-id="site-loading">
|
|
{{ 'ADF_DROPDOWN.LOADING' | translate}}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</div>
|