I have a powerapp that is linked to a sharepoint list. The goal is to have a popup appear when a specific field is changed, the popup contains a button that resets the visability variable back to false (so the popup should not appear until the dropdown value is changed again). The default value of the dropdown is blank. This worked well, until I added a timer that refreshes the sharepoint list data every seconds. Now each time the data is refreshed the OnChange function executes even though no changes have been made since the last refresh. However, if I change the dropdown back to the default value, the popup appears correctly, and does not appear when the data is refreshed (when the timer ends). I am confused as to what I am doing wrong. The code is below.
Dropdown OnChange function = set(New_Bed_Assignment,True)
Timer OnEnd function = Refresh('MySharepointList')
Popup Visible function = if(New_Bed_Assignment,true,false)
Popup button OnSelect = Set(New_Bed_Assignment,false)
I have read that there are bugs with the dropdown OnChange functions in powerapps but none of the solutions I found have worked. Any help would be appreciated. Thank you.

Report
All responses (
Answers (