mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
* Revert "[ACS-7768] unify inputs and selects across the app (#9687)"
This reverts commit 7cfb5ea64a
.
* ACS-7768 Little correction
27 lines
1.2 KiB
HTML
27 lines
1.2 KiB
HTML
<div id="site-dropdown-container" class="adf-site-dropdown-container">
|
|
<mat-form-field class="adf-sites-dropdown-form-field" appearance="outline" subscriptSizing="dynamic">
|
|
<mat-label>{{ 'NODE_SELECTOR.LOCATION' | translate }}</mat-label>
|
|
<mat-select
|
|
adf-infinite-select-scroll
|
|
(scrollEnd)="loadAllOnScroll()"
|
|
#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-select-trigger class="adf-sites-dropdown-select-trigger">
|
|
{{ selected?.entry.title | translate}}
|
|
</mat-select-trigger>
|
|
<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>
|