
Announcements
Have ComboBox for Status (New, Work in Progress, Complete)
i have {Value: If(varTaskStatusComplete,"Complete",ThisItem.TaskStatus.Value)} in the DefaultSelectedItems to update task status, but i would like to set the default to 'New' as well
how can i add the default to New in the DefaultSelectedItems?
see screenshot
thank you in advance
Thanks to the link below, I found the answer I think you are looking for. Here's what you should do, but feel free to read the post as well:
I put this in a button, but you can do this wherever you want:
Set(varSelectedItems,"New,Complete")
Set the DefaultSelectedItems to:
RenameColumns(Split(varSelectedItems, ","), "Result", "Value")
Thanks to Fidelity Factory for this solution I found here:
https://www.fidelityfactory.com/blog/power-apps-multiple-default-values-in-a-combo-box-rxsx4
Hope this helps