create new translate pipe and remove TranslateCatalogPipe
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
c4d0eac2e3
commit
9a0124d358
@@ -2,11 +2,11 @@
|
||||
<mat-label>{{getLabelText()}}</mat-label>
|
||||
<mat-select placeholder="{{getPlaceHolderText()}}" formControlName="controlSelect">
|
||||
<mat-option *ngFor="let option of selectOptions" [value]="option.id">
|
||||
{{ option.value | translateCatalog }}
|
||||
{{ option.value | translateKey:'catalogs' }}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
<button mat-button *ngIf="controlSelect" matSuffix mat-icon-button
|
||||
aria-label="Clear" (click)="clearProperty($event)">
|
||||
<mat-icon>close</mat-icon>
|
||||
</button>
|
||||
</mat-form-field>
|
||||
</mat-form-field>
|
||||
|
||||
Reference in New Issue
Block a user