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 / Figuring out how to co...
Power Apps
Answered

Figuring out how to control offered defaults in dropdown control

(0) ShareShare
ReportReport
Posted on by 112

I have a dropdown control that I have added an "Other" option too for manual entry of an item if the pre-defined list doesn't contain what is needed. I followed this tutorial: Create A Dropdown With An Other Option In Power Apps (matthewdevaney.com)

 

To make this work I had initially cleared out the default property for the dropdown control as it was throwing an error about the expected value being a record but receiving type text.

entertain89_1-1694631480407.png

 

But doing this means that the dropdown always defaults to nothing being selected. This is fine for entering new items, but it is causing issues when viewing or editing existing items in the form as it does not bring in the currently set value from the record so when the item is saved it is clearing out the previous selection.

 

For example:

 

Here you can see I have a description set in the contract action description column:

entertain89_2-1694631571794.png

 

But when you open or edit the actual record it is just blank:

entertain89_3-1694631613502.png

 

 

How can I set the default property so that if a selection in that field was previously made it will be brought over properly in the view/edit forms ?

Categories:
I have the same question (0)
  • Verified answer
    CU23010049-0 Profile Picture
    112 on at

    Changing the field to a dropdown rather than a combo box fixed the default issue above, but now I'm realizing that the method described in that blog post presents me with a more complex issue. Since there are two fields (a dropdown and a text input), when viewing or editing an item with a value set via the "other" option I would need some way to determine if the dropdown or text input field should be used to display the value based on how it was originally input (via the dropdown or via the text input field).

     

    That seems infinitely to complex to resolve and would lead to unnecessarily complicated logic. I may just ditch the two field idea and make it a simple text input where users will just have to type in what they want in the field instead.

     

    Unless someone can think of another way to have a dropdown list, with an "other" option for manual input, that would also display the selected values when you go back to view or edit records.

  • CU23010049-0 Profile Picture
    112 on at

    Ok so this has morphed into a much different question now. I'll make a new question to address what I'm attempting to do now.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard