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.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,569)