
Announcements
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.
Office365Users.SearchUser({searchTerm: Self.SearchText,top:10})​
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:""
}
)​
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.
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