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 blank when ed...
Power Apps
Unanswered

ComboBox blank when editing but showing when viewed

(0) ShareShare
ReportReport
Posted on by 15

Hi community

 

We've run into a strange problem with ComboBox's in a small time registration app we're doing. During the time registration one can select a project to register on - the projects live in a SharePoint list.

 

During app start we initialize a ProjectCollection:

Screen1.OnVisible: ClearCollect(ProjectCollection, Projects.Title);  //Only select the project Title column

 

The registrations are stored in DataVerse where the project column is simply stored as text - i.e. the title of the project.

 

The Project_DataCard is setup as follows:

Default: ThisItem.Project

Update: Combobox1.Selected.Title

 

The ComboBox1 is setup as follows:

Items: ProjectCollection

DefaultSelectedItems: {Title: Parent.Default}

 

When creating a new registration one is able to select the project from the ComboBox

andersen_mikael_0-1639571461346.png

It also displays correctly when submitting the form - i.e. view mode. Also saved fine in DataVerse

andersen_mikael_1-1639571523845.png

However if we try to edit the registration again the ComboBox blanks

andersen_mikael_2-1639571577274.png

 

Already spent to many hours investigating this issue, so hope someone is able to shed som light on this. 

 

 

 

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @andersen_mikael You wouldn't need the collection. You can do this,

    ComboBox1:

    Items: Projects

    DefaultSelectedItems: Parent.Default

    DisplayFields: ["Title"]

  • andersen_mikael Profile Picture
    15 on at

    Thanks for the reply. The collection was mainly done as a optimization to avoid to many calls to SharePoint. The list of projects does not change that often.

     

    I've tried changing it as follows.

    Items: Projects.Title // We only store the title in the registration

    DefaultSelectedItems: {Title: Parent.Default}

     

    Again that works fine when viewing the records, but still blanks when editing. Could there be some kind of problem with the form. We're seeing this behaviour for several ComboBox'es.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @andersen_mikael I did some tests and it works for me.

    It could be that you have to use the full column name rather than the display name.

    So, it would be (replace 000 with the actual number you have),

    DefaultSelectedItems: {cr000_Title: Parent.Default}

     

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard