This is what it looks like as On-Click event currently {{resetWidget(“output_textfield”)}}
But I also want to reset input_textfield with the same button.
Today you use a IIFE apart or JS objects.
Something like this below
{{(function() { resetWidget(“output_textfield”) resetWidget(“input_textfield”) })}}