In my custom node i have a button that adds <div class="form-row"> <input type="text" /> </div>
I would want when i press another button that hides/deletes the form row created to change the input value back to "";
Because when i type something on input the value of it stays until i delete it
let myInput = $("#myInput")
btn.on("click",()=> {
myInput.value = ""
}