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 / gallery.selected not d...
Power Apps
Answered

gallery.selected not displaying in combobox/dropdown

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I'm trying to build (my first) expense app on PowerApps. This form is connected to a gallery that is connected to a SharePoint site. I've used edit form so that i can change the cost if i so wish however for category, approvers, and 'projects', it is just empty after putting 'GalleryMonthly.Selected.category' for example (see bottom photo). I'd like to be able to have a dropdown or combo box that when the gallery item is selected, it will display what was chosen in the previous form rather than it being blank.

 

Another issue is that my 'description' comes out in gibberish even though in the SharePoint it will simply say 'test'. how can this be solved?

 

Thanks in advance for the help!

CMQuills_1-1683017455746.png

 


CMQuills_0-1683017110441.png

Categories:
  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    HI @Anonymous ,
    For displaying Description column in gallery you can use  -
    1. Wrap the text with PlainText function - PlainText(ThisItem.Description)
    2. Add HTMLText input and write below formula in Html Text property - 
    ThisItem.Description

    Regarding adding Default value to Project combobox, don't update Items property of it. Let the items property be Choices(ListName, Projects) and add below formula in DefaulSelectedItems property of Combobox - 
    GalleryMonthly.Selected.Projects

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    HI @Anonymous ,
    For displaying Description column in gallery you can use on eof two below options -
    1. Wrap the text with PlainText function - PlainText(ThisItem.Description)
    2. Add HTMLText input and write below formula in Html Text property - 
    ThisItem.Description

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Both worked. thank you very much!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @NandiniBhagya20 ,

     

    Thanks for your help earlier. When changing my text input to html text, it now makes it so that it's unable for users to edit the box (see photo). 

    CMQuills_1-1683036852022.png

    How is it possible to make it so that user can edit this in the form?

     

    Thanks

     

     

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @Anonymous ,
    You can hide that field and add Rich Text editor control from "Input" section. This control will allow users to edit HTML text.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @NandiniBhagya20 ,

     

    I knew of rich text editor but didnt want to use it due to it's clunky toolbar above. Is there any way to get rid/reduce it? Or is there any other way around this issue? thanks

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