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

Issues with "Default" in Combobox

Hi there,

 

As the title suggests, I'm having trouble with the default in Combobox. 

So I have 3 frames: a browse, a detail (view) form and an edit / add form.

When people want to edit a field, I want the comboboxes, dropdowns and datumpicker to show the old data. I've got it working for the dropdowns and datumpicker, but the comboboxes doesn't seem to work. Everytime it displays: "Search items" instead of (for example) a customer.

 

 

I tried Parent.Default, but that doesn't work. It gives a red circle with a cross inside it which says something about that it expects the type of Record, but this rule produces incompatible value from the type Number. 

 

Thanks in advance.

15 REPLIES 15

I'd really love to know how to input the Current User as default in a particular combo box..... It would make life so much easier for my users....

Hey,

 

We can use the below formula in the defaultSelectedItems , the catch is it accepts a record value and not a single data value in the control -->

Filter('Table', Id = Gallery.Selected.Id).ColumnBoundToCombobox

View solution in original post

En la propiedad DefaultSelectedItems de un listbox escribí el siguiente código:

 

If(IsBlank(Parent.Default)=true;["Contrato"];Parent.Default)

 

Deseo que cuando es un nuevo registro por defecto esté seleecionado "contrato", pero se esté editando un registro muestre el valor que estaba guardado.

 

esto es un formulario de personalización de sharepoint hecho en powerapps.

Advocate II
Advocate II

use ForAll function in DefaultSelectedItems property

 

ForAll(tableSource,Result)

Thank you so much, I had the same issue and this just helped me! 🙂

Bonjour,

Super merci !

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,688)