cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
souma123
Level: Powered On

Select/unselect all dropdown

Hi All, 

 

I have a dropdown list (week) with 52 entry, i want to add a check/uncheck All check box to make it easy to a user if he wants to select all the weeks , how can i do please?

1 ACCEPTED SOLUTION

Accepted Solutions
Sienna
Level 10

Re: Select/unselect all dropdown

You can't select multiple items in dropdown. You can do this with combobox. Simply add an toggle or checkbox and set the OnCheck property to 

 

UpdateContext({allSel: ["1","2","3","4","5","6","7","8"]})

 

and OnUncheck to

 

UpdateContext({allSel: []})

 

 

 

Now in your combobox set Item property to 

 

["1","2","3","4","5","6","7","8"]

 

and DefaultSelectedItems to

 

allSel

View solution in original post

1 REPLY 1
Sienna
Level 10

Re: Select/unselect all dropdown

You can't select multiple items in dropdown. You can do this with combobox. Simply add an toggle or checkbox and set the OnCheck property to 

 

UpdateContext({allSel: ["1","2","3","4","5","6","7","8"]})

 

and OnUncheck to

 

UpdateContext({allSel: []})

 

 

 

Now in your combobox set Item property to 

 

["1","2","3","4","5","6","7","8"]

 

and DefaultSelectedItems to

 

allSel

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 397 members 6,741 guests
Please welcome our newest community members: