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 doesn't accep...
Power Apps
Unanswered

Combobox doesn't accept parent.default

(1) ShareShare
ReportReport
Posted on by 84

There is a textbox in the list , but on form replaced textbox with Combobox. Issue is selected value is getting saved into the list, but in the edit form Saved value is displayed.

 

When I try to set defaultselecteditems property to Parent.default, I getting error.

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @SharePointDev12 

    Check out @Shanescows 's video on Comboboxes at  https://www.youtube.com/watch?v=pjs0ZsnJZXo It should give you all the information  you need to work with them in PowerApps.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@SharePointDev12,

     

    Considering that it gets errors when you set DefautlSelectedItems property, do you want to set it properly to the Combo Box?

     

    Based on your description, the column in your SP corresponding to the Combo Box is a Text type. I have a test on my side under this premise, please take a try as below:

     

    1. Set the Update property of the datacard as: 

     

     

    ComboBox1.Selected.ColumnName​

     

     

    • Set the Items property of the ComboBox1 as: 

     

     

    'DataSource'.ColumnName​

     

     

    • Set the DefaultSelectedItems property of the ComboBox1 as: 

     

     

    {ColumnName:ThisItem.ColumnName}​

     

     

    It will be appreciated if you can post some specific error screenshots.

     

    Best Regards,

    Qi Qiao

     

  • Xavierdefrance Profile Picture
    12 on at

    Bonjour, 

     

    Je pense avoir le même problème. Ça fait quelques jours que passe de forum en forum et la réponse y est je pense. Malheureusement je suis novice avec Powerapps. 

     

    Je fait essayer d'expliquer le problème. Pour tenter de le résoudre 

     

    J'ai créé une application 3 écrans via un fichier excel. Quand j'enregistre des données dans Combobox via le formulaire Editform j'obtiens bien les données enregistrées dans la BrowseGallery. Pas de problème 

     

    J'ouvre une des données enregistrées dans BrowseGalllery qui m'envoie vers Detailscreen ou je retrouve mes données. Celui du Combobox aussi. Il existe une icône de modification sur Detailscreen. Je clique dessus et me renvoie vers Editform ou je trouve l'ensemble de mes données sauf celle du Combobox. 

     

    J'ai vérifié l'ensemble des items au niveau de default elle sont toutes notées (  Parent.default  )

    Sauf Combobox.  J'ai essayé des choses dans DefaultSelctedeItems sans trouver la solution. 

     

    Je vais mettre des photos pour essayer de me faire comprendre 

     

    Merci d'avance pour l'aide apportée 

     

     

    20220330_233426.jpg
    20220330_233349.jpg
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, 

     

    I had this same problem and your solution worked really well. One problem though, the formula you suggested doesn't sort out distinct values in the items property. It causes duplicate values to appear. I tried adding the distinct() with the formula you gave but this caused an error because distinct requires two arguments that are type record, not table. Do you have a solution for this?

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

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard