cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TimpSmith74
Level: Power Up

Dropdown not displaying default value - just can't see why

Hi - I hope you can help me. 

I'm creating a basic shopping app. I have a shopping cart based on a collection, displayed in a gallery. I want to add an edit function, so that the size/quantity can be updated directly in the shopping cart, before placing the order. 

I inserted a dropdown box, with display mode = view (until the edit button is pressed), and default value = ThisItem.ItemSize (where ItemSize is the size field in the collection). However, the dropdown is blank. 

In powerapps controls to the right, I can see that the default value is there correctly, picked up from the collection. 

If I create a label, with ThisItem.ItemSize - it correctly displays the size. 

I just can't get the drop down to have a visible default value and it's driving me mad! 🙂 

Please can you help me.

Many thanks, Karen 

 

1 ACCEPTED SOLUTION

Accepted Solutions
cds
Level 8

Re: Dropdown not displaying default value - just can't see why

Dropdowns need to be an array 

 

 

View solution in original post

2 REPLIES 2
cds
Level 8

Re: Dropdown not displaying default value - just can't see why

Dropdowns need to be an array 

 

 

View solution in original post

TimpSmith74
Level: Power Up

Re: Dropdown not displaying default value - just can't see why

Gotcha - so when I add items to the dropdown, one of which matches with my thisitem.itemsize, the item size is now displayed as the default value 🙂 

Thanks so much for the tip! 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,587)