Problem trying to change 'All' label in 'Records per page'
-
Hey all,
so, I’m trying to change therows-per-page-options
prop in the QTable component, I’m setting[5,10,0]
,0
sets automatically to a label for ‘All’, can I change the label to something else? For example, setting ‘Todo’ instead of ‘All’, I know I can change the bottom scoped slot to change this, but since there’s already an option to change therows-per-page-label
andpagination-label
I was wondering if there was an option for this as well -
It’s an internal language phrase.
You can change the English (US) value here permantly (there is also a GB version too that would need changing, plus all the translations, should you wish to do that):
Or change it during runtime (notice the mounted hook):
https://codepen.io/smolinari/pen/KKpmELv?editors=1010
Scott
-
@s-molinari said in Problem trying to change 'All' label in 'Records per page':
It’s an internal language phrase.
You can change the English (US) value here permantly (there is also a GB version too that would need changing, plus all the translations, should you wish to do that):
Or change it during runtime (notice the mounted hook):
https://codepen.io/smolinari/pen/KKpmELv?editors=1010
Scott
Oh, I didn’t know the framework had language packs, no need to change the internal values, thanks for the help!