web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combobox issue when di...
Power Apps
Answered

Combobox issue when disabled

(0) ShareShare
ReportReport
Posted on by

When my combobox is disabled it doesn't show the correct values. It shows the number of items instead. When i flip to edit mode the values display fine.

  • The Combobox is serving as a people picker with multiple values.
  • Items: 

 

Office365Users.SearchUser({searchTerm: Self.SearchText,top:10})​

 

  • DefaultSelectedItems: 

 

ForAll(
 dc_RiskOwners.SelectedItems, 
 {
 Claims:"i:0#.f|membership|" & Lower(LookUp(Office365Users.SearchUserV2({searchTerm:ThisRecord.DisplayName}).value, DisplayName = ThisRecord.DisplayName).Mail),
 Department:"",
 DisplayName: ThisRecord.DisplayName,
 Email: "",
 JobTitle:"",
 Picture:""
 } 
)​

 

  • When disabled looks like this:
    Capture-Multipeoplefield-1.PNG
  • When in edit mode the same field looks like this as it should:
    Capture-Multipeoplefield-2.PNG

How do I get the names to show in the disabled mode in a similar manner to the edit mode? I get it that it won't be the same but at least if the names could be readable.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at

    Hi @Anonymous ,

    What you are seeing is the default behaviour when the items selected cannot fit on the available width of the Combo Box and it appears that it also applies this in disabled mode (there are no settings to change this). One option is to have a Label with 

    Concat(
     ComboBoxName.SelectedItems,
     DisplayName, " ,"
    )

    over the box with the Visible

    ComboBoxName.DisplayMode = DisplayMode.Disabled

     

    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

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard