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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

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

Top Solution Authors
Top Kudoed Authors
Users online (53,507)