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 / Dropdown in a Gallery ...
Power Apps
Unanswered

Dropdown in a Gallery Did Not Reset When Button is Pressed and Item in Dropdown in the 2nd Gallery Reverted Back to First Item When Button is Pressed in Repeating Tables

(1) ShareShare
ReportReport
Posted on by 160

Hi guys! I'm looking into creating a gallery that would execute repeating tables, with reference to Shane Young's YouTube tutorial on PowerApps Repeating Tables like InfoPath Part 1 - Enter the data: PowerApps Repeating Tables like InfoPath Part 1 - Enter the data (youtube.com)

I have this "Next Page" button, illustrated in the screenshot below:

DelDev_0-1721002717547.png

 

The expression for "Next Page" button in the "OnSelect" property is as follows: 

ClearCollect(BZZCollection,{LineDimension: " ", LineNomValStraight: " ", LineActStraight: " ", LineNomValCur: " ", LineActCur: " " }); Navigate(TrialPage) , where "LineDimension" is my dropdown and the rest of the parameters are my Text Inputs. When the "Next Page" button is pressed, the intended outcome would be that it would navigate to the next screen "TrialPage" where the dropdown in a gallery is located at and the dropdown would be reset to blank. 

 

I have two strings in the "Items" property of the dropdown: ["Hello", "Bye"]. The dropdown has this expression, "ThisItem.LineDimension" in the "Default" property. But the first issue is, the dropdown in the gallery of the "TrialPage" did not reset to blank and displays "Hello" instead after the "Next Page" button is pressed. This is illustrated in the below screenshot:

 

DelDev_2-1721003609027.png

 

 

The 2nd issue is that I have used a "Done" button to save the data. When I pressed the "Done" button, the second gallery pops out below as intended and I selected the second item, "Bye" in my dropdown and filled out all the textboxes inputs. After which, I pressed the "Done" button and the third gallery pops out below but there is an issue. The second item, "Bye" that I have selected in my dropdown in the second gallery reverts back to the first item, "Hello" after the "Done" button is pressed.

 

The below screenshot illustrates the word "Bye" is selected in the dropdown in the 2nd gallery before the "Done" is pressed:

DelDev_3-1721003990757.png

 

 

 

The below screenshot illustrates after the "Done" button in the 2nd gallery is pressed and the word "Bye" in the dropdown of the 2nd gallery reverts back to "Hello":

DelDev_4-1721004432845.png

 

The expression of my "OnSelect" property of my "Done" button is:

Patch(BZZCollection,ThisItem,{LineDimension: DimensionInput, LineNomValStraight: Value(NomiValStrInput.Text), LineActStraight: Value(ActlValStrInput.Text), LineNomValCur: Value(NomiValCurInput.Text), LineActCur: Value(NomiValCurInput.Text)}); Collect(BZZCollection,{LineDimension: " ", LineNomValStraight: " ", LineActStraight: " ", LineNomValCur: " ", LineActCur: " "})

 

I have not used any form controls, just a vertical gallery in "TrialPage" screen. I'm not sure where I went wrong and whether I have missed any settings. Really need help on this, thanks!

 

 

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

    Hi @Del-Dev ,

    Can you please whether this is a drop-down or combo box and if a drop-down, have you set AllowEmptySelection to true ?

  • Del-Dev Profile Picture
    160 on at

    Hi @WarrenBelz,

    I have set the drop-down's "AllowEmptySelection" property to true.

     

     

    DelDev_0-1721014928184.png

    Based on the above screenshot after setting the "AllowEmptySelection" to true, after pressed the "Done" button ,all the drop-downs in all the 3 galleries all reset to blank, which is not the one I'm aiming for.

     

    The intention is that when the "Next Page" button is pressed, the drop-down is reset to blank for the first gallery. But the issue is after putting to true for the "AllowEmptySelection" for the drop-down and after the "Done" button is pressed in the first gallery, the 2nd gallery pops out below it and the item "Hello" in the drop-down in the first gallery disappears.

  • WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at

    Hi @Del-Dev ,

    Assuming the drop-down Default is ThisItem.LineDimension, it should reset to that. Is it not doing this ?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard