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

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.

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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