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

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.

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,538)