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 / Clear data in text inp...
Power Apps
Unanswered

Clear data in text input when I click cancel / submit button

(0) ShareShare
ReportReport
Posted on by 56

Hi, 

I have a gallery here. 

angelica00__0-1717403957347.png

angelica00__1-1717403994935.png


I want to clear the data that I add row if I click the cancel or submit button 

angelica00__2-1717404070859.png

Items: ItemsCollectionCommitmentEdit

Commitment Text input Default property is: 
ThisItem.Commitment

Hoping for your kind assistance.

Thank you.
Categories:
I have the same question (0)
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @angelica00_ ,

    try this formula

    Reset(your_datacard_name)
  • angelica00_ Profile Picture
    56 on at

    Hi Sir, 

    Where can I find the datacard? is it same w/ the gallery?

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @angelica00_ ,

     

    Please set the textinput control's Reset property to:

    ResetControl

    Add a button and set it's OnSelect property to:

    Set(ResetControl,false);Set(ResetControl,true);

    Click the button and the value in textinput will be reset.

     

    Best Regards,

    Bof

  • angelica00_ Profile Picture
    56 on at

    it clears the text but the text input remains. is it possible if the text input is also clears/remove?

    angelica00__0-1717405023664.png

     

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @angelica00_ ,

     

    Could you please describe the difference between ‘text’ and ‘text input’? It seems that ‘text input’ has already been reset.

    vbofengmsft_1-1717408054804.png

     

     

    Best Regards,

    Bof

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 742

#2
Valantis Profile Picture

Valantis 474

#3
Haque Profile Picture

Haque 358

Last 30 days Overall leaderboard