Hi all,
I've previously been using a workaround that I found on this forum to set a default value for a dropdown based on a variable which is storing a text value (found here)
If(SharePointForm1.Mode = New, {
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Value:"Blue"},
ThisItem.FavoriteColor)
This has all of a sudden stopped passing this value off to my SharePoint list when saving. It still displays the expected value in my PowerApp, but doesn't actually use it when saving the item.
I have noticed there is a semi-new "Combo Box" dropdown item which can be used in a form, but this odata-type workaround does not work in it. Instead, I can set the "DefaultSelectedItems" control to my intended value which appears to work in the app, but again when saving it doesn't actually pass it through to the SharePoint record.
Is there a new definitive way to set a default value for a dropdown?