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

PowerApps Dropdown List not showing Default Item

Hi, 

 

In a Gallery, I am showing a record from a SQL database.

In the attached screen shot, it showed that the "Pilot Name" field has a Default value of "ThisItem.PilotEmployeeName".

It is showing on the "Properties" panel, but NOT in the dropdown box itself. 

 

What is causing this behavior? 

 

Looking down to the "Fire Danger" field, it uses the same idea, but it is showing the "3-High" properly, as expected.

 

Any idea? 

 

Dchan 

2 REPLIES 2
RandyHayes
Super User
Super User

@dchan1 

All that is required to match on a dropdown is a Text value in the Default to a Text value that is in the displayed column.

Your display column is Name.  Are you sure there is an EXACT match to a Name from Default?  Everything must match....capitalization of letters, spaces, etc.

To test, I would look at your items and pick a name and then hard-write that name Exactly as seen in the Default as a text value and see if it matched properly.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Hi @RandyHayes ,

 

When I modified the "Default" values either retype "ThisItem.PilotEmployeeName" or hardcode the name of the pilot, the pilot name WILL appear in the dropdown box. However, when I exit the screen/application and comes back in, the Pilot name is NOT displayed like the screen shots I showed. 

 

I could not understand why it is behaving like this. 

A workaround suggested by my colleague is to use "Combo Box", which I found to be working. 

So, I think I will use Combo Box here instead and move on. 

 

Thanks.

 

Dchan1

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,734)