cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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
Highlighted
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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 247 members 5,130 guests
Please welcome our newest community members: