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 / Combobox with EditForm
Power Apps
Answered

Combobox with EditForm

(0) ShareShare
ReportReport
Posted on by 65

I think there is a bug in the ComboBox component.

When I initiate a new Form based on a SharePoint list, which contains many columns (component in the form), and set "default" value of these elment to value that I would like to set (as a pre-defined form), after submitted the form, I found that most of the components are saved accordingly. Excep the ComboBox, which is a Lookup table referring to another list. 

When setting the "Default", I chose to set the "DefaultSelectedItems" of the ComboBoox instead of the "Default", cause it could display the result in the form. (see attached picture). But when I submit the form, it did not store it into the record. 

I saw similar problem reported. 

 

Martin Sun

screenshot.png
Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @MartinSun2000 ,

     

    Would you please explain more about what are the 'Employee 员工' and 'Name' parameters? I suppose that these are the SharePoint list name and the person and group column name. If so, then please try to use below formula instead and have a test:

    {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims:"i:0#.f|membership|name@xxxxx.onmicrosoft.com",
     Department:"",
     DisplayName:"Name Here",
     Email:"Name@xxxxx.onmicrosoft.com",
     JobTitle:"",
     Picture:""
     }

     

    Regards,

    Mona

  • Verified answer
    MartinSun2000 Profile Picture
    65 on at

     Thanks you!

    My problem was solved by settign the DefaultSelectedItems with a "filterd" Choice from the "Item" of that control. . ( See attached. )

    I think this give the correct link to the choice.

     

    You suggested code work with a Patch command. But I am not sure how to put it in a form which as initiated with NewForm command.

    Thanks a lot anyway!

    BR,

    Martin


    @v-monli-msft wrote:

    Hi @MartinSun2000 ,

     

    Would you please explain more about what are the 'Employee 员工' and 'Name' parameters? I suppose that these are the SharePoint list name and the person and group column name. If so, then please try to use below formula instead and have a test:

    {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims:"i:0#.f|membership|name@xxxxx.onmicrosoft.com",
     Department:"",
     DisplayName:"Name Here",
     Email:"Name@xxxxx.onmicrosoft.com",
     JobTitle:"",
     Picture:""
     }

     

    Regards,

    Mona


     

    ScreenShot2.PNG

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 600

#2
WarrenBelz Profile Picture

WarrenBelz 478 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard