JS on click add text to a input field

you can do this with nocode alone:

  • bind the initial value of the input to a variable
  • on input change (mind not to use on input value change) update the variable to the event value
  • now if you want to add text to the input just change the variable value accordingly