You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, the curent documentation is misleading. But what you are trying to do is possible with
select'tab'as component;
select'calendar-week'as icon,
'2023'as title,
case $tab when '2023' then 'red' end as color;
select'calendar-week'as icon,
'2024'as title,
case $tab when '2024' then 'green' end as color;
select'calendar-week'as icon,
'2025'as title,
case $tab when '2025' then 'yellow' end as color;
Screencast.From.2025-01-27.10-03-56.mp4
Setting a color with the color property unconditionally applies the color. But if you need a condition, you can express it in sql.
Introduction
When I use the tab component and add colors to the tab. All tabs are underlined and so setting active/inactive is not possible.
To Reproduce
List of steps to reproduce the behavior. Include the sql file you are using and the eventual relevant parts of your database schema
Actual behavior
After following these steps, what happened ?
If you saw an error on the command line or inside your page, then paste it here
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
Version information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: