Is there toggle button widget / or how to create one?

Hello, is there a mean in worksho to create a “3 states toggle button” ? (taking into account I do not have access/authorization to Developer Console)
Like this:
image

Maybe with custom widget (but I don’t know how) ?

Or with embedded Salte (but isn’t it too heavy if with laod 3, 4, 5 embedded slates) ?

You could use a metric card with 3 metrics sharing the logic state for toggles. Conditional formatting would then allow you to show which state is on. You also can add interactions to each metric to run the events or actions that the 3 state button would have done.

eg:

2 Likes

This is a bit hacky but you could also use a Tabs widget. The hacky part is that currently to get the selected state visually you’ll need to hook it up to tabs, but you don’t actually have to use that tabs section.

We’re tracking a feature request internally to allow the tabs widget to show selected state based on setting a variable value, which would make this much better.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.