mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[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
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
placeholder="{{placeholder | translate}}"
|
||||
floatPlaceholder="never"
|
||||
data-automation-id="site-my-files-select"
|
||||
[(ngModel)]="siteSelected"
|
||||
(ngModelChange)="selectedSite()">
|
||||
[(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.entry.guid">
|
||||
<mat-option *ngFor="let site of siteList?.list.entries" [value]="site">
|
||||
{{ site.entry.title | translate}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
|
Reference in New Issue
Block a user