cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
souma123
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
Sienna
Resident Rockstar
Resident Rockstar

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

2 REPLIES 2
Sienna
Resident Rockstar
Resident Rockstar

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

Nirenjana28
Microsoft
Microsoft

test

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,849)