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

DropDown - Needs to Show No Value

I'm sure I am missing something here silly as to why this is not working correctly here.

 

My OnSelect Code looks like this for capturing the Data

Collect(Collection1,{
    ID: Max(Collection1, ShooterID)+1,
    Bay3Result:Bay3ResultScore.SelectedText.Value}
);
SaveData(Collection1, "OfflineData")

 

For my Items I have this below

Distinct(Bay3Result.Result,Result)

 

Isn't there a way so that instead of it saying FAIL OR PASS to begin with it shows blank? Also how do I get it to stick with it staying on what I select, as currently if I select PASS, it automatically reverts back to  showing FAIL in the drop down.

LyonsBI_BRL_0-1632377746956.png

I know I'm missing something really simple here.

 

Thanks! 

 

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

To get a blank on initial load, Set the AllowEmptySelection property to true.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Consider Checking My Youtube Channel

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

To get a blank on initial load, Set the AllowEmptySelection property to true.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Consider Checking My Youtube Channel

PG_WorXz10
Resident Rockstar
Resident Rockstar

Hi @LyonsBI_BRL ,

 

You can also try adding one more value to the collection if you are initializing the Bay3ResultScore values. 

So when the dropdowns are reset it will go back Select instead for Fail. 

CLearCollect(Bay3ResultScore,{Value:"Select"},{Value:"Fail"},{Value:"Pass"})

 

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

@eka24 That did it thank you!

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,611)