web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / dropdown box reverting...
Power Apps
Unanswered

dropdown box reverting to the first option

(0) ShareShare
ReportReport
Posted on by 47

It might be a strange practice, but this is exactly what is happening,

in my app, I have an option where users choose an option from a dropdown menu, this dropdown item is filtered from a sharepoint list to show specific items, after choosing this option and some other options, the user click on next to move to a second screen, in the second screen, the user will have also to choose different other options, once user is done, he should click on submit, the submit button will submit a number of forms, (from 1 to 10 forms based on the student input), and will send emails also (from 1 to 10 emails based on the user input), the strange part here that some users are reporting that the app sometimes is reverting back the dropdown menu of the first screen to the first item, which is in fact "sometimes" happening based on the invalid data submit to the forms after submission, when I try the feature from my side, or when I click home, back and whatever, the dropdown menu keep the same value, i.e. there is no reset(dropdown) anywhere in the app.

knowing that I have the same problem with another feature that include only patch, without any submit form


In another thread I saw someone posting this problem, but he was working on an sql server and the reason was PK and FK, any thoughts anyone?

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @JohnnyK 

    The value that will be displayed is first governed by what is in the Default property of the Dropdown.  Take a look at that and see what you have there.

    Once a user changes the dropdown item, the control will retain its setting until either the control is Reset (which you say it is not) or if the table in the Items property is updated.  I suspect the second to be your issue.  If your submit is altering the datasource that your dropdown comes from, then this CAN have an impact on the selected item.  I say CAN because if the Items property is relatively simple, there usually is no issue, but if there is significant impact on the items, PowerApps will automatically reset the control.

     

    However, I would still start the journey at looking at the Default property.

     

    I hope this is helpful for you.

  • JohnnyK Profile Picture
    47 on at

    Thank you for the detailed and clear answer, actually I was following up on what you suggested, but still didn't find any refresh for the list source, but what I noticed after some observation, that this is happening only, just after the user log in to the app, and if he directly requested this feature, 
    in other words if the user login to the app, directly access the above feature and click on submit, the dropdown box will reset to the first option, is it possible that the app refresh all its source just after starting? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard