Reset text value

How to reset text value when I click on X button ?

you set the value to empty string using the dynamic attribute inner text

SOLVED

I solved with: text_filter_setValue(null)

1 Like

empty string doesn’t work

setValue=" " or
setValue=""
i used to do it like this and its working fine

This has been improved in Wappler 5.2.1 - now you can leave the value input empty, when setting a value, so you don’t have to add an empty space in code view.

This topic was automatically closed after 46 hours. New replies are no longer allowed.