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 / Editable drop down in ...
Power Apps
Answered

Editable drop down in gallery control bug

(1) ShareShare
ReportReport
Posted on by 17

I'm using editable drop downs inside of a gallery control (uses SQL On Prem db through gateway). The drop down displays the existing data in the db with the usual syntax in the default property (thisitem.fieldname). However, when there is a value in the first row and not in subsequent rows, the value from the first row gets *repeated* for rows having a blank (null) value for that field. I have the Advanced Feature Formula Level Error management enabled.  My workaround is this: I added a timer control (duration: 1) having a start property of timerstart; a context variable updated to true in the OnChange event in the search textbox. In the OnTimeEnd event, it updates a context variable (timerend) to true. I changed the Default property of the drop down to use this context varirable.  


If(timerend,ThisItem.'Proposal Coordinator',"")

 

#bug #gallery #dropdown #editable

Categories:
  • Mr-Dang-MSFT Profile Picture
    Microsoft Employee on at

    @mherman284,

    I'm not understanding what you mean by this part. Can you share screenshots, gifs, or a video of what you're trying to do?

     


    @mherman284 wrote:

    I'm using editable drop downs inside of a gallery control (uses SQL On Prem db through gateway). The drop down displays the existing data in the db with the usual syntax in the default property (thisitem.fieldname). However, when there is a value in the first row and not in subsequent rows, the value from the first row gets *repeated* for rows having a blank (null) value for that field. I have the Advanced Feature Formula Level Error management enabled.  My workaround is this: I added a timer control (duration: 1) having a start property of timerstart; a context variable updated to true in the OnChange event in the search textbox. In the OnTimeEnd event, it updates a context variable (timerend) to true. I changed the Default property of the drop down to use this context varirable.  


    If(timerend,ThisItem.'Proposal Coordinator',"")

     

    #bug #gallery #dropdown #editable


     

  • mherman284 Profile Picture
    17 on at

    Hi, Mr. Dang. 

    Thanks for responding. Bug Demo.png

  • Mr-Dang-MSFT Profile Picture
    Microsoft Employee on at

    Ah the picture helps a lot. But can you also clarify what you mean by editable dropdown? Do you have a dropdown or combobox control inside the gallery? Does the dropdown have blank/null as an option? Have you tried a combobox?

  • Verified answer
    mherman284 Profile Picture
    17 on at

    Mr Dang.

     

    Yes, I have a drop down inside the gallery Editable Tables. Yes the Drop Down has a blank/null option. I have not tried the combo box. My point was I found a work around: the drop down does not exhibit this behavior when I update a context variable to true on a Timer's Timer End property, and refrence that context variable in Default property of the drop down: If(timerend,ThisItem.'Proposal Coordinator',"")

  • mherman284 Profile Picture
    17 on at

    Mr Dang, I discovered more weirdness with this solution today. While holding open a drop down control within the gallery, the page 'blinks' and then re-navigates to the screen. How do I know this? Because I have an on visible method that sets a value to a drop down control. The value of that drop down control is used to filter gallery results:

     

    Items

    Search(collOpp,strSelectedBTStatus,"Bid_x0020_Tracker_x0020_Status")

     

    So I updated the OnVisible property of the screen to set this global variable only one time. 
    If (NavBTOnce=false,
    Set(strSelectedBTStatus,"Current");
    Reset(ddStatusSelection),
    false);

    Set(NavBTOnce,true);

  • DenisMolodtsov Profile Picture
    317 on at

    I have the same issue. Dropdown control has a bug when used inside the gallery control. If dropdown's default property is Null/Blank, than it just displays a value from the first row.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard