I have a form on my PowerApps. Data source is SharePoint. On this form I have 2 combo boxes that need multiselect.
When the form is in New mode, the combo boxes work perfectly, list of items is from one SharePoint list and save to a text column separated by comma in another SharePoint list. When it's in edit mode however, the Combo boxes show the original selected items as being selected but as soon as I make a change it will only save the added selected or if no change, the data is now blank with only commas.
Formula on DefaultSelectedItems:
RenameColumns(Filter(Split(txtgalReceivedFrom,","),!IsBlank(txtgalReceivedFrom)),"Result","Value")
Formula on Items:
If(editMode = true, ColReceivedFrom.Result,varReceivedFrom)
Formula on OnSelect:
ClearCollect(ColReceivedFrom,{Name:""});Collect(ColReceivedFrom,Distinct('ForwardTo-ReceivedFrom',ReceivedFrom))
Formula on OnChange:
false
Formula on Update:
Concat(ddReceivedFrom.SelectedItems,Result,",")
What am I missing?