cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

Reset a non-Boolean Variable

Having trouble here: 

 

* `varName` = a name of a person

* Textbox set to `varName`

* After an action, I want to clear the Textbox and start over

 

Tried `Reset(Textbox)` but the variable is still set so Textbox remains. 

 

Without using a Collection, is there a way to reset `varName` to a blank value?

1 ACCEPTED SOLUTION

Accepted Solutions

UpdateContext({varName:  Blank())

 

Is that what you are asking for? 

 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

View solution in original post

2 REPLIES 2

UpdateContext({varName:  Blank())

 

Is that what you are asking for? 

 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

Yessir! There it is right in the docs too!

 

Thanks

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,606)