cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

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
Memorable Member
Memorable Member

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
Memorable Member
Memorable Member

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,831)