Clearing components in UI Builder

Steve Stivers1
Tera Contributor

I am working in Utah UI Builder. I have a page with a textarea component and a select component. I would like to clear these components after my submit button is pressed and the data entered has been used. This will allow the user to then fill them again and repeat.

 

How can these components be cleared?

5 REPLIES 5

I was able to get the select component to clear using the client state param and adding this to the client script to reset the selected value onclick 

api.setState("listRefresh", {"timestamp":Date.now()});

here is a video that shows how as well.

UI Builder - List Refresh - YouTube