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 / Set default value in C...
Power Apps
Unanswered

Set default value in Combobox

(1) ShareShare
ReportReport
Posted on by 6,048 Super User 2024 Season 1

q29.jpg

There are only two values. Yes and No. I want to set default value as "No". When i try "Default" property or "DefaultSelected" property. It works but, then it doesn't update the value.

For ex. IF i set No as default. And someone changes to YES and save the form. value will still be No

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,273 Most Valuable Professional on at

    Hi @zmansuri ,

    What type of field is Contact and what is the Update of the data card?

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @zmansuri I think u'll want the default value only in New Mode. So, set the default of the combo to,

    If(yourFormName.Mode=FormMode.New, put here whatever you have now in the default property

  • Bideyy Profile Picture
    9 on at

    Hello Zmansuri.

     

    What choice type did you attach your contract to? is it system default yes/NO choice types or custom.

    if its default, you might as well, use a custom type of choice, then try it again. it should work.

    faced this same thing a while back, i had to use my own custom made choice type to get it done.

     

    You can also set your default value from the datasource as well, have you tried this??

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    It's sharepoint choice filed containing 2 custom values. Yes and No.

    Update property: cmbContractFlag.Selected

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @zmansuri The Update property seems to be fine. Are you sure its not saving properly or is it just showing you the default value "No" after saving, because "No" has been set as the default of the ComboBox?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard