I added a onTextChanged event on an input in a form. Since that moment the input no longer resets on submit. The toggle is on, I even tried to write the reset myself in the onSubmit event. It seems because the onTextChanged listener is active the input is no longer in the form.
Steps to reproduce:
- create a form
- add an input
- add js is onTextChanged:
{{
LimitInputField.setValue(LimitInputField.text.replace(/k/gi, '000'))
}}
- the reset button no longer works.