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?
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.
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?
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.