md-data-table-pagination md-label doesn`t go well with ng-translate
See original GitHub issueI’m using ng-translate to localize my application and cant manage to make md-label work with the translate filter. I think the problem lies in the way two-way bind is used in this parameter to pass both the label and the ‘of’ string in a object.
I suggest the md-label be split into two parameters and be received by value (‘@’ instead of ‘=’) so that mustache operator can be applied.
Here’s a sample of how I`d expect it to work.
<md-data-table-pagination
...
md-label-text="{{ 'PAGINATION_ROWS_PER_PAGE' | translate }}"
md-label-of="'{{ 'PAGINATION_OF' | translate }}">
</md-data-table-pagination>
Does this proceed, or am I missing something?
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
DataTables - KivyMD 1.1.1 documentation
Data tables display sets of data across rows and columns. ... This is because the index list is needed to allow MDDataTable to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@daniel-nagy Should this issue now be fixed? I have still the same problem. The label will only be changed with reloading the page.
Thx @daniel-nagy. Will update and test asap.