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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combo Box Default Valu...
Power Apps
Answered

Combo Box Default Value Not Processing

(0) ShareShare
ReportReport
Posted on by 61

Hello friends,

 

I'm working on an app as a workflow solution for my colleagues. Within this app, I am using a very strange method to "save" each user's choice as a default value that the app checks for during OnStart. Here is that method:

 

When a user selects a value for a combo box and clicks a button to send their choice, a list item is created in a SharePoint list containing 2 values: User().FullName & Combobox.Selected.Value. Next time the app starts up, OnStart sets a variable to the Combobox.Selected.Value associated with the current User().FullName. The combo box's default value is set to that variable defined within OnStart.

 

A value is required in Combobox in order to send the user's inputs. Herein lies the problem: When I try to send user's inputs (with the Combobox.Selected.Value default value) however the app is not reading the default value so I get an error when I try to send. Unselecting the Combobox.Selected.Value and selecting it again does fix this, however as I'm sure you know defeats the purpose of saving a user's input preferences.

 

My question would be: Why is my app not identifying that there is a default value selected in the Combobox? I can literally see that the value is selected and I will still receive an error.

 

Thanks for any help you can provide and have a great day!

Categories:
I have the same question (0)
  • Verified answer
    cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    use a lookup for you're default value. If you're items property is something like DataList.column or a filter(datalist,something = something).column then just use the same thing on default item but use a lookup. So Lookup(datalist,column = your onstart variable value).column this should match the object exactly and should produce the desired results. 

     

  • Kongol Profile Picture
    61 on at

    Excellent, to the point reply! You're awesome, this solved my problem!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard