Browse Source

localize enum key in select

pull/15287/head
muhammedaltug 3 years ago
parent
commit
67942c06f9
  1. 2
      docs/en/Tutorials/Part-3.md

2
docs/en/Tutorials/Part-3.md

@ -789,7 +789,7 @@ Open `/src/app/book/book.component.html` and replace `<ng-template #abpBody> </n
<label for="book-type">Type</label><span> * </span>
<select class="form-control" id="book-type" formControlName="type">
<option [ngValue]="null">Select a book type</option>
<option [ngValue]="type.value" *ngFor="let type of bookTypes"> {%{{{ type.key }}}%}</option>
<option [ngValue]="type.value" *ngFor="let type of bookTypes"> {%{{{ '::Enum:BookType.' + type.value | abpLocalization }}}%}</option>
</select>
</div>

Loading…
Cancel
Save