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 / Modern Combobox and De...
Power Apps
Suggested Answer

Modern Combobox and DefaultSelectedItems

(1) ShareShare
ReportReport
Posted on by 2
He friends,
I got a  modern combobox cboproducttype  writing in a column choices sharepoint, Producttype,
I display the record in a Gallery, 
I created a button opening a new screen where i can edit the product for changes.
 
I got the product name displayed well in the gallery; 
 
I got the vareditproduct.thisitem working well, I tested with labels,
 
On cboproducttypeEdit, I got the Item linked to the Producttype column
And a i try many thing to get the cboproducttypeEdit value on DefaultselectedItems but nothing works
 
i know a table is required for DefaultselectedItems [ ] didn t change anything
 
I can make it work with Classic combo but I wish I could make it works with Morden control
 
Thx for readin me
Thx for your help 
 
 
 
I have the same question (0)
  • Suggested answer
    WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    What is the Items of the Combo Box (I assume you have changed it from Choices(SPListName.ChoiceFieldName). and the DisplayFields
     
    Your DefaultSelectedItems (using the DisplayFields name without the quotes) should be (assuming a sinlge choice field)
    {DisplayFieldsName: ThisItem.Producttype.Value}
     
    Please ✅ Does this answer your question 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 answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please ✅ Does this answer your question 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 answering Yes to Was this reply helpful? or give it a Like â™¥
    Visit my blog
    Practical Power Apps    LinkedIn   

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard