cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: Need Dropdown with blank / null default


@svenvu wrote:

Now my gallery form is almost perfect but I can't change the combobox (with single select and search) to a dropdown because it contains a list of thousands of employee names (from the Office365-connector). Is there any chance this property could be made available for comboboxes?

 


The combobox has, since it was introduced, supported empty selection, so there's no need to set any property for that.

svenvu
Level: Powered On

Re: Need Dropdown with blank / null default

Hi Carlos

 

Thank you for looking into this!

I have documented the specific usecase in this topic that is now removed from the spamfolder:

https://powerusers.microsoft.com/t5/General-Discussion/Why-is-there-no-AllowUnsetValue-property-for-...

 

And I found the solution in your blogpost:

https://powerapps.microsoft.com/en-us/blog/default-values-for-complex-sharepoint-types/

 

In the DefaultSelectedItems property from the combobox I had to enrich the formula with: If(EditForm1.Mode=FormMode.Edit;....;Blank()). I would not have guessed that myself. You're always welcome to screen the topic and give advise for best practices 🙂

 

Big thanks!

Highlighted
Cameron1
Level: Powered On

Re: Need Dropdown with blank / null default

There's a problem with this feature, once you select a value, you cannot select the blank value again.  It's removed from the list.

Helpful resources

Announcements
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,445)