mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
18 lines
819 B
HTML
18 lines
819 B
HTML
<div id="site-dropdown-container" class="adf-site-dropdown-container">
|
|
<mat-form-field>
|
|
<mat-select
|
|
class="adf-site-dropdown-list-element"
|
|
id="site-dropdown"
|
|
placeholder="{{'DROPDOWN.PLACEHOLDER_LABEL' | translate}}"
|
|
floatPlaceholder="never"
|
|
data-automation-id="site-my-files-select"
|
|
[(ngModel)]="siteSelected"
|
|
(ngModelChange)="selectedSite()">
|
|
<mat-option *ngIf="!hideMyFiles" data-automation-id="site-my-files-option" id="default_site_option" [value]="MY_FILES_VALUE">{{'DROPDOWN.MY_FILES_OPTION' | translate}}</mat-option>
|
|
<mat-option *ngFor="let site of siteList" [value]="site.guid">
|
|
{{ site.title }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</div>
|