Hello,
I have been troubleshooting this problem all day and cannot seem to find a solution. I'm finding inconsistent behavior when I am in the PowerApps Studio editing the application vs when I am in Play mode. Specifically, when I'm looking at a NewForm Custom Data Card dropdown menu.
This has worked for months and just started acting up today. I reverted back to a prior version from a month ago and it still doesn't work.
In the attachments, "Picture 1" is a view of the app from Edit Mode. Some things to note:
1) The dropdown menu labeled "Account" contains the collection called "account" and displays the field "Description". The ID of each account is accessible from DataCardValue212.Selected.ID.
2) You'll find the captured ID inside of the Account textbox AND in a label placed in the header of the screen for troubleshooting purposes.
3) There is no problem when trying to capture the ID from the dropdown menu in Edit mode.
In the attachments, "Picture 2" is a view of the app from Play Mode. Some things to note:
1) The screen is accessed using the exact same user, variables, and screen navigation path (same state).
2) Notice that the two places where the ID is supposed to pull in. Both are blank.
When the form is submitted in Edit mode, it works fine. When the form is submitted in Play mode, the AccountID will not fill into the form and there is an error stating it won't work.
WHY IS POWERAPPS LIKE THIS?