Files
alfresco-ng2-components/lib/content-services/site-dropdown/sites-dropdown.component.html
Eugenio Romano 76cf4f178e [ADF-2312] Sites Dropdown component - default select option (#2994)
* fix gallery view sort drop down empty values
restore recent in main pace
trashcan example demo shell add multi select

* add selectable default value

* remove change delete directive

* remove fdescribe

* missing return type
2018-02-24 18:00:41 +00:00

18 lines
830 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="{{placeholder | translate}}"
floatPlaceholder="never"
data-automation-id="site-my-files-select"
[(value)]="selected"
(selectionChange)="selectedSite($event)">
<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?.list.entries" [value]="site">
{{ site.entry.title | translate}}
</mat-option>
</mat-select>
</mat-form-field>
</div>