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 / Convert dropdown to co...
Power Apps
Unanswered

Convert dropdown to combo box. existing document missing its value.

(0) ShareShare
ReportReport
Posted on by 12

I got request to change existing field from dropdown to combobox to ease of search value.

Problem to existing document, selected value in dropdown not able to be seen in combobox. 

 

In this picture above field is dropdown. Bottom is combobox. Besides, this selection will also populate another field.

 

22.JPG

Categories:
  • WarrenBelz Profile Picture
    156,926 Most Valuable Professional on at

    Hi @Nida ,

    That is because you need to set the DefaultSelectedItems of the Combo Box. What is the Items and Default of the dropdown and the Update of the Data Card ?

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @Nida ,

    Please change the Combox  DefaultSelectedItems  Property to Dropdown.Selected


    Did I answer your question? Mark my post as a solution!
    If you liked my response, please consider giving it a thumb up
  • Nida Profile Picture
    12 on at

    @Amit_Sharma @WarrenBelz 

     

    DefaultSelectedItems : {Value: Parent.Default}

    Default : blank!

    Update : cmbCommdty.Selected.Commodity

     

    Looks like I am able to get the value for the combo box, but I have other lookup field related this combo box selection named field "Description" type: text, return blank. 

    Default: LookUp(SPRcomm,Commodity=cmbCommdty.Selected.Commodity,Description)

     

     

     

  • WarrenBelz Profile Picture
    156,926 Most Valuable Professional on at

    Hi @Nida ,

    DefaultSelectedItems should be (assuming the field is a Choice field) - use your actual field name

    {Commodity: ThisItem.YourFieldName.Value}

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Nida Profile Picture
    12 on at

    Sorry @WarrenBelz to make you confuse. It works now using {Value: Parent.Default} and the form is details screen. 

     

    Now the problem is the Description field is blank. It supposed to populate description related to what user has selected commodity before. 

     

    The information is saved in sharepoit, I am not sure if I need to lookup to refresh the field just to show it here or to run flow to refresh this description field.

     

    LookUp(SPRcomm,Commodity=cmbCommdty.Selected.Commodity,Description)

    I believe for new document; user select the commodity the description will be populated. But, not for existing closed status document.  The description will show blank. 

  • WarrenBelz Profile Picture
    156,926 Most Valuable Professional on at

    @Nida ,

    Yes, I am a little confused - if you are using cmbCommdty.Selected.Commodity for the reference to the Description, how can {Value: Parent.Default} be valid in the DefaultSelectedItems ?

     

  • Nida Profile Picture
    12 on at

    Hi @WarrenBelz , yes it valid and tested with below is giving me error. Commodity is lookup to SharePoint list which contain commodity and descriptions.

    {Commodity: ThisItem.YourFieldName.Value}

     

    This application has been used quite some time and recently user asked to change form dropdown to combo box due to search capability. 

     

    I have change to combo box, completed document can only show the commodity (I have resolve by 

    {Commodity: ThisItem.YourFieldName.Value}

    ) but not for the description field it blank. 

     

    If I reselect the commodity, filed description will show the value. But, we have more then 1K document.. 

  • WarrenBelz Profile Picture
    156,926 Most Valuable Professional on at

    @Nida ,

    If the DefaultSelectedItems of cmbCmomodity is

    {Value: Parent.Default}

    then the Description should be

    LookUp(
     SPRcomm,
     Commodity = cmbCommdty.Selected.Value
    ).Description

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard