Logic to switch button contained <-> outlined?

Hi,

I have a panel of 4 buttons which are outlined by default. When one of them is selected I need that one to become contained to show that it is selected.

I can’t find a logic handler for this. Is there a way to do this somehow ? I can’t find a handler for this. Perhaps a property to set in the component ? But I can’t find a documentation for it.

Thanks.

Hello @Nicolas_REMY

We have no logic to change the button variant dynamically. You could use custom CSS and Class List Logic handler to change the view of your buttons.

Regards, Dima.

OK, too bad, thanks.

Hi @Nicolas_REMY

we’ve created a ticket and will be added soon, once it’s released we notify your here in the topic.

Regards,
Vlad

1 Like

Hello @Nicolas_REMY

We have added a new handler - Varian Logic for the “Button” component.


Regards,
Inna