cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
romy
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
leyburn19
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
leyburn19
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

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

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (31,529)