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 / Drop down list saves a...
Power Apps
Answered

Drop down list saves as inputted value instead of selected value

(0) ShareShare
ReportReport
Posted on by 11

Hello,

 

I have a "Company Name" drop down menu users are able to manually input to create new options. When I start typing part of the company name then see it drop down (as the option already exists from being added on before) and select the option; after I save and exit it shows the value I had typed in instead of the one selected from the drop down.

 

Eg.

1. I wish to record "AMCR" as the company name. I type "AM" and see "AMCR" has already been added in before and select it from the drop down.

angelac_0-1707271468058.png

2. After clicking from the drop down it displays "AMCR" as the selected option

angelac_1-1707271581768.png

3. After hitting save, it displays in the list as "AM", the original value I had typed in. Despite it appearing to have been selected from the drop down option in the form.

angelac_2-1707271641839.png

 

How can I have it display correctly as the option that was selected in the form but still retain the ability for values to be able to be manually added it?

 

Hope I've explained this well- thanks in advance!

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @angelac 

     

    Please share the code you have used.

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @angelac ,

     

    I would suggest you handle your submitted formula like this: if the user hasn't selected any value from the Combo box, submit the user's search text; if the Combobox.Selected is not empty, then submit Combobox.Selected.

     

    Best Regards,

    Bof

  • angelac Profile Picture
    11 on at

    Hi Bof,

    Thanks for your prompt response. May I possibly trouble for a formula example? I'm somewhat semi-beginner with this all 🙂

  • angelac Profile Picture
    11 on at

    Hi Aaron,

    Thanks for your quick response. For which section? Apologies still a bit of a beginner at these 🙂

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @angelac ,

     

    Could you please show me the update property of the datacard in your form.

     

    Best Regards,

    Bof

  • angelac Profile Picture
    11 on at

    Hi Bof,

    Here it is:

    {Value:Coalesce(DataCardValue2.SearchText,DataCardValue2.Selected.Value)}

    angelac_1-1707274849301.png

    Thanks

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @angelac ,

     

    Please try this formula:

    If(
     IsBlank(DataCardValue2.Selected),
     {Value:DataCardValue2.SearchText},
     {Value:DataCardValue2.Selected.Value}
    )

    Best Regards,

    Bof

  • angelac Profile Picture
    11 on at

    Hi Bof,

     

    This worked like a charm, you are a legend.

     

    Thank you

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

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard