You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Toggle in netteForms.js doesn't work properly, whent there is a type='reset' button, or the form is reset() anyhow. 'reset' event doesn't fire 'change' event on controls, but changes them.
If you check Checkbox in example, TextArea will show, if you then click reset button, Checkbox is unchecked by reset, but TextArea is not toggled properly.
Version: netteForms.js 3.3.0
Bug Description
Toggle in netteForms.js doesn't work properly, whent there is a type='reset' button, or the form is reset() anyhow. 'reset' event doesn't fire 'change' event on controls, but changes them.
If you check Checkbox in example, TextArea will show, if you then click reset button, Checkbox is unchecked by reset, but TextArea is not toggled properly.
Steps To Reproduce
Expected Behavior
Form's 'reset' event should be handled for toggling properly.
Possible Solution
Somehow handle 'reset' event on forms and toggle controls which needs it.
The text was updated successfully, but these errors were encountered: