I have a canvas app that has a Listing Screen with a Gallery and a Details screen with a Form. The Form has a DropDown that displays the text value of an underlying Id field.
I'm getting a problem in that when I select an item in the gallery to navigate to the Details screen, the drop down in the Form on the details screen is updated sometimes but not all times. This seems to be a bug as the problem is happening for the same item in the listing screen, sometimes I will see the dropdown updated and sometimes it will not.
Has anyone gotten this problem ?
If the DropDown value is changed, and you return to the Gallery screen, then click on the same item, it's possible that the DropDown will contain the previously selected item and not the value defined by the record. This happens because the record the form has loaded did not change.
If this sounds like your bug, there are two things you may try:
1) If the form is an edit form, set DetailsScreen.OnVisible=ResetForm(DetailsForm)
2) If the form is a view form,
+ set DetailsScreen.OnVisible=Set(varResetDD, true);Set(varResetDD, false)
+ set DropDown.Reset=varResetDD
Keep up to date with current events and community announcements in the Power Apps community.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Check out the latest Community Blog from the community!