Hello YULONG,
You can try this with JavaScript, you just need to pass the Widget ID using input parameter in you JavaScript widget in your client action .
document.getElementById($parameters.ElementId).value = ''
I hope this will work for you! Check Oml attached.
Thanks,
Tousif Khan