mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
chore: added always visible label to sort, i18n (#5438)
This commit is contained in:
@@ -205,7 +205,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SEARCH": {
|
"SEARCH": {
|
||||||
"TOGGLE_ASC_DESC_ORDER": "Toggle results between ascending and descending order"
|
"TOGGLE_ASC_DESC_ORDER": "Toggle results between ascending and descending order",
|
||||||
|
"SORT_BY": "Sort by"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"COMMENTS": {
|
"COMMENTS": {
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
<mat-form-field>
|
<mat-form-field floatLabel="always">
|
||||||
|
<mat-label>{{'CORE.SEARCH.SORT_BY' | translate}}</mat-label>
|
||||||
<mat-select [(value)]="selected" (selectionChange)="onOptionChanged($event)">
|
<mat-select [(value)]="selected" (selectionChange)="onOptionChanged($event)">
|
||||||
<mat-option *ngFor="let option of options" [value]="option.key">
|
<mat-option *ngFor="let option of options" [value]="option.key">
|
||||||
{{ option.label | translate }}
|
{{ option.label | translate }}
|
||||||
|
Reference in New Issue
Block a user