Wednesday, 7 November 2018

Angular material 2 does it support translation

Am trying out Angular-material for the first time and when I tested the mat-select with ngx-translate it did not update the language, not until re-clicking on the input will change take effect.

So does the framework support localization/translation or am I using it wrong

code:

 <mat-form-field>
   <mat-select placeholder="City" [formControl]="city">
      <mat-option *ngFor="let city of cityList" [value]="city.id">
        
      </mat-option>
  </mat-select>
</mat-form-field>



from Angular material 2 does it support translation

No comments:

Post a Comment