- My goal: Assign dynamic keys to Tabbed Container
- Issue: The component does not switch tabs when using custom keys
- Steps I've taken to troubleshoot: If I replace {{ TabKeys.value.Form/List }} with their content (simple "List" and "Form" strings) it works as expected
- Additional info: (Cloud or Self-hosted, Screenshots)
Hey there, welcome to the community.
I've managed to get this working myself using a variable as shown below.
Can you confirm what the value of TabKeys is? The key and label will need to be a string.
That does look correct, I'll try to repeat what you have there.
The one thing that's making me suspect that it's the data structure is in your screenshot the currentViewKey value is showing as a string "{{ TabKeys.value.Form }}" and doesn't seem to have been parsed.
How are you setting the current view key? Are you navigating to different tabs programatically or using a tabs component?
EDIT: Using an object seems to work in this example:
Did you manage to resolve this @samuelg or do you still need help?




