akg1421
akg1421

Reputation: 55

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

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

Initially I set the "Text" property to a variable 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?

Upvotes: 0

Views: 2247

Answers (1)

JBerg
JBerg

Reputation: 446

Likely your input is inside a gallery or form. You'll have to include your reset button in the same gallery or form as your input.

enter image description here

Upvotes: 2

Related Questions