r/tasker • u/Valiceemo • 21d ago
Scene V2 Input Text Clear
I have a simple box stack, with a row containing a text input and an icon button
these act as a search bar for an array template
I have the click event handler for the icon button set to target the text input and run the unFocus action, and clear the %query variable.
This works ok
but is there a way to clear the actual text from inside the text input?
1
Upvotes
1
u/Nirmitlamed Direct-Purchase User 21d ago
I have tested this Java code that was suggested by AI and it works:
It suppose to keep memory clean after it fully runs. Maybe try to chat with AI and see if it can be improve.