Hi,
I have a list of items stored in a text-field ("Items") in a collection ("MyCollection"): "Item1, Item2, Item 3"
In order to show these items in a combobox I first split the text and store the items in a collection:
ClearCollect(
colItems;
ForAll(
Split(
LookUp(
MyCollection;
Serialnumber="12345"
).Items;
","
);
{Value: Result}
)
);;
In the DefaultSelectedItems-property of my combobox I have:
colItems.Value
When the screen on which the combobox is located is shown, the text-field Items is being emptied. When I remove the code in the DefaultSelectedItems-property, the string in Items remains as intended.
Why is the DefaultSelectedItems-property removing content from the collection?
Regards
Lukas