cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

How to clear a Text Input

Hi all

I have a situation to clean a Text Input after using a botton to be a collection. Everything works perfect, only that Text Input keeps value. how can I clean them

1 ACCEPTED SOLUTION

Accepted Solutions
Memorable Member
Memorable Member

You need to reset the TextInput

 

Create a variable on the Form OnVisible property like:

 

UpdateContext({VarReset:false})

 

In the Reset property to the TextInput,  give it the variable VarReset as its value

 

Then when you complete the collection add UpdateContext({VarReset:true }) and

 

In the onslect property to the TextInput UpdateContext({VarReset:false})

View solution in original post

2 REPLIES 2
Memorable Member
Memorable Member

You need to reset the TextInput

 

Create a variable on the Form OnVisible property like:

 

UpdateContext({VarReset:false})

 

In the Reset property to the TextInput,  give it the variable VarReset as its value

 

Then when you complete the collection add UpdateContext({VarReset:true }) and

 

In the onslect property to the TextInput UpdateContext({VarReset:false})

View solution in original post

thank so much

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (99,654)