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 / Issue with repeating t...
Power Apps
Suggested Answer

Issue with repeating table using a collection for items

(0) ShareShare
ReportReport
Posted on by 73
I have a vertical gallery with these properties:
I have a 2 x text fields (modern controls) and a checkbox in each row. I want to be able to add a row by either:
  • clicking the + Add buttonand it adds to the collection (and gallery)
  • or clicking the save Button on each row and it adds to the collection (and gallery).
This is adding a row but the problem is that it's keeping the values in the text field and not clearing them. 
I will share the properties of all buttons:
+ Button:
 
The save button on each row:
 
Ultimately I want to be able to submit this collection as JSON to a multiline column in SP so that's why there is no connection to SP involved (and I don't need there to be until I submit).
 
Can you see what I'm doing wrong here.
 
I've done this x100 odd times in the past but a bad nights sleep is contributing.
Categories:
I have the same question (0)
  • Suggested answer
    jpespena Profile Picture
    335 on at
    Hi,
     
    You can reset the input fields by:
     
    Reset(TextInput1);
    Reset(TextInput2);
    Reset(Checkbox);
     
    Or use a local variable like:
    UpdateContext({locReset: false});
    UpdateContext({locReset: true});
    Then add locReset on the Reset property of the text input and checkbox controls.
     
     
    You can add either on the end of the function of the Save and Add button.
     

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
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard