Hi Mujaeit,
Are you using the switch widget? If so, you can use the on change action to call e.g. a microflow where you can check the new value and do something with that.
Hope this helps!
if You add the “on click” microflow or nanoflow and pass the object which is used to render the switch.
u can get the value of switch widget from the $object/booleanAttribute in that nanoflow/microflow.
Hi Mujaeit,
you cannot change the OnClick action of a SidebarToggle, as it is used to toggle a sidebar.
You can only set the Toggle mode of the sidebar that should be toggled.
If you wish to add a custom OnClick action, just use a default action button.