Add tab_id and step_id as row-level parameter #184
DSMejantel
started this conversation in
Ideas
Replies: 3 comments 2 replies
-
@lorefnon is working on adding IDs to all components here: #182 However, I'm not sure how this would help in your case ? What prevents you from creating dynamic links for switching between tabs today ? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks, |
Beta Was this translation helpful? Give feedback.
0 replies
-
My question was stupid. --Onglets
SET tab=coalesce($tab,'1');
select 'tab' as component,
TRUE as center;
select 'Type de Ruche' as title, 'home' as icon, 1 as active, 'parametres.sql?tab=1' as link, CASE WHEN $tab='1' THEN 'orange' ELSE 'green' END as color;
select 'Couleurs' as title, 'palette' as icon, 0 as active, 'parametres.sql?tab=2' as link, CASE WHEN $tab='2' THEN 'orange' ELSE 'green' END as color;
select 'Interventions' as title, 'tool' as icon, 1 as active, 'parametres.sql?tab=3' as link, CASE WHEN $tab='3' THEN 'orange' ELSE 'green' END as color;
select 'Variété de Miels' as title, 'flower' as icon, 1 as active, 'parametres.sql?**tab=4**' as link, CASE WHEN $tab='4' THEN 'orange' ELSE 'green' END as color; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Just an idea. Is it possible to add id parameters to tab component (for step component too) ?
So it will be easy to jump from a tab to another tab with variables or numerical calculation...
Beta Was this translation helpful? Give feedback.
All reactions