web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Reset(TextInput) on Bu...
Power Apps
Unanswered

Reset(TextInput) on Button click Error The function expects a resettable control as its input

(0) ShareShare
ReportReport
Posted on by 195

I want to reset "Text" property of TextInput using Reset(TextInput); function

 

Initially I set the "Text" property to a variable called "coordinates" then using below function on button OnSelect

 

 

UpdateContext({coordinates:Location.Latitude & ","& Location.Longitude});Reset(textInput)

 

 

Reset() function gives following error "The function expects a resettable control as its input."

 

Where is it wrong?

 

@WarrenBelz @Drrickryp @timl @TheRobRush 

 

 

Untitled.png
Categories:
I have the same question (0)
  • timl Profile Picture
    36,558 Super User 2025 Season 2 on at

    @akg1421 

    In your screenshot, you're calling Reset on TextLatitude. Can you confirm what TextLatitude is? If it's a not a control (such as text input control), that would be an explaination of the error.

  • amk1421 Profile Picture
    195 on at

    @timl It is the same TextInput referred in my org post. Issue is raised when using Reset(TextInput);

  • timl Profile Picture
    36,558 Super User 2025 Season 2 on at

    @akg1421 - Your screenshot references textLatitude, not TextInput. Are you absolutely sure that textLatitude is a text input control, because the error message here suggests that it isn't.

     

    timl_0-1656930508460.png

     

  • amk1421 Profile Picture
    195 on at

    @timl Yes it is the same TextInput and there're no typos. I just simplified it as "TextInput" in my post.
    TextInput and txtLatitude are same


    See screenshot of apps Tree view

     

    akg1421_0-1656935393696.png

     

     

  • timl Profile Picture
    36,558 Super User 2025 Season 2 on at

    @akg1421 

    It looks like textLatitude and textLongitude are label controls in your app. The icon for a text input control includes a cursor in the image, and the textLatitude icon in your image matches that of a label. 

    If you recreate textLatitude with a text input control, that should hopefully solve the problem.

     

    timl_0-1656936150251.png

     

  • amk1421 Profile Picture
    195 on at

    @timl Bundle of thanks! Please also guide how to reset a Label control?

  • timl Profile Picture
    36,558 Super User 2025 Season 2 on at

    @akg1421 

    It's not possible to reset a label control by calling the reset function. The workaround is to set the text property of the label to a variable. You can then set/reset the value that's shown in the label by updating the variable.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 419

#2
WarrenBelz Profile Picture

WarrenBelz 397 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 345 Super User 2025 Season 2

Last 30 days Overall leaderboard