Reputation: 95
I have some inputs with placeholders. like that:
<input placeholder="Filter">
But, I have to respect the i18n method. i18n-placeholder is not allowed with Angular 6
What is the right way?
Upvotes: 0
Views: 508
Reputation: 194
placeholder="{{ 'Filter'| translate }}"
Upvotes: 1