Reset Input Form Component do Library Starter Kit

Hi! I hope you’re doing well.
I’m currently working with the Library Starter Kit, and I have a quick question about one of its components.

I’m using the Input Form Component, and I need to reset the input field value programmatically.
However, since it’s a component, I don’t have direct access to the input’s variable or reference, like I would if I built it manually.

So, my question is:
How can I reset the input value inside this component, even though I don’t have access to the internal state or variable?
Is there any workaround or recommended way to do this?

Thanks in advance for your help!
Looking forward to your answer.

Hi Igor.

Since you are using a component form, you should create a new variable that will be updated on “On Input Change” to keep track of it’s value.

And in order to reset it you need to set your form “Init Value” to “” so it’s empty. (here you can use a variable too)