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 / ComboBox randomly does...
Power Apps
Unanswered

ComboBox randomly does not keep value after navigate to new screen

(0) ShareShare
ReportReport
Posted on by 32

I'm having an issue with an issue with the some of my comboboxes sometimes not keeping its value after navigating to another screen.

 

Each of my screens are tied to another datasource (different Sharepoint lists), when a user clicks on the button to move to the next screen, the current screen submits the form and on success it moves to the next screen.  The default mode for each screen is edit.  the comboboxes have defaultsselecteditem set like the following:

 

LookUp(dd_Activity, Title = ThisItem.Activity_x0020_Code)

 

When I navigate back to the screen which was submitted at times one or two comboboxes may be missing their values.  This doesn't happen all the time.  Anyone else experience something similar to this?  Any suggestions?

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    on at

    Hi @ContentGroup ,

     

    Are these combo boxes from multiple choices enabled Choice columns in SharePoint list or what? What is the Items property of the combo box control?

     

    About LookUp(dd_Activity, Title = ThisItem.Activity_x0020_Code), is "dd_Activity" the SharePoint list name of current Form? What is "Activity Code" column's data type? Or is this combo box a Lookup column and its source information is from dd_Activity's Title field?

     

    Regards,

    Mona

  • ContentGroup Profile Picture
    32 on at

    @v-monli-msft the source for the combobox options are from another Sharepoint list (the name of the list for this combobox is dd_Activity, which the title field contains the drop-down options).  When the powerapp is submitted all of the data is stored in a text field in another Sharepoint list (under a field entitled Activity Code).

     

    I have several comboboxes on this form which work the same way connecting to different sharepoint lists for the options.

     

    Thanks in advance for your help.

     

  • ContentGroup Profile Picture
    32 on at

    @v-monli-msft Have you seen anything similar to this happening before?

  • ContentGroup Profile Picture
    32 on at

    I've come to the conclusion that Powerapps must have some sort of issue running a LookUp on several comboboxes for the defaultselecteditems on a form.  

    The form source stores the combobox selected values as text field and the lookup uses the text to lookup a table values different Sharepoint lists.  I know the source text is okay, because it outputs correctly to a label.  I have a feeling that there is some sort of timeout when loading an edit form and populating 7 comboboxes' with defaultselecteditems.  The issue happens only intermittently, and if I replicate it in Powerapps studio, I can go to the combobox which does not receive a value and put a space after the the LookUp statement and the value then populates.

     

    Value didn't show up for YardValue didn't show up for YardJust added a space after LookUp(dd_Facility, Title = ThisItem.Yard) and now the yard shows up, I guess the change prompted a refresh of the default selected itemJust added a space after LookUp(dd_Facility, Title = ThisItem.Yard) and now the yard shows up, I guess the change prompted a refresh of the default selected item

     

    If anyone knows a way to debug this further it would be appreciated. 

  • ContentGroup Profile Picture
    32 on at
    Still can't figure out why this sometimes happens. Anyone else come across this?

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard