03-24-2020 15:25 PM - last edited 03-25-2020 14:23 PM
[25-mar-2020 update] : removed Reset parameter, added MaxSelectedItems parameter
This component will allow you to add nice toggle sets to your applications. They are fully customizable so you will be able to give them the look and the behavior you want:
Its parameters are as follow:
I'm glad you'll be using the component in your app (if you could post a screen shot of what you did with it I'd love it! 😉).
If you want to navigate to another screen when you click on an item, here is how to do it:
Switch( First(cmpToggleSet.SelectedItems).Id, 1, Navigate(Screen4), 2, Navigate(Screen3), 23, Navigate(Screen8), etc... )
That should do the trick. Don't forget to have a look at the component on Github as there are more detailed explanations: https://github.com/e-gallis/PowerApps/tree/master/Components/ToggleSet.
Hope this helps,