
Hi, inside the onVisible of my screen i grab some data from my sharepoint list and create a collection to store the data that will populate my combobox.
to debug, i put my collection inside a table, that shows correctly all my data.
The combobox shows the correct items inside the top part (where i can also write) but when i open it, there is only one element highlighted, why?
this is the code of my defaultSelectedItems
ForAll(
tmpLoadedDefaultSelectedSkills,
{
Name: ThisRecord.Value
}
)
this is what i see... as you can see, the table shows 4 items, and on the top part, they are correctly loaded. but then in the dropdown that opens, only e-commerce is selected, while i should also have selected coaching, change management and Editing grafico.
how to fix?
Hi @Antonioclk ,
Try using below formula in OnSelect property of button or OnVisible property of Screen -
Clear(colTP); ForAll(
tmpLoadedDefaultSelectedSkills,
Collect(colTP, {
Name: ThisRecord.Value
} )
)
And you can then use colTP in DefaultSelectedItems property of combobox.