cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.

14 REPLIES 14
Highlighted

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....

Highlighted

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

Highlighted

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.

Highlighted
Advocate II
Advocate II

use ForAll function in DefaultSelectedItems property

 

ForAll(tableSource,Result)

Highlighted

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,004)