What is the JS that allows me to clear an input field after clicking a button. I want to be able to enter a location on the map app and have it disappear in the input field when it shows up on the map. Thanks
What is the JS that allows me to clear an input field after clicking a button. I want to be able to enter a location on the map app and have it disappear in the input field when it shows up on the map. Thanks
Hi Emma,
Use the following code:preAppery("myinput").val("");/prewhere 'myinput' is a name of Input component.
Thank you!