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
I don't know if this is really Formsy's fault, but I was hoping someone could point me in the right direction. I have a Formsy form that includes react-md-editor as one of its fields. The problem is that, if all the required fields are filled out and the submit button is enabled, the editing buttons on the Markdown editor also act as submit buttons, ruining the functionality of the editor. Any ideas as to what could be causing this?
The text was updated successfully, but these errors were encountered:
Unfortunately, I just tried that, and it didn't work. Not even nativeEvent.stopImmediatePropagation works. I wonder if it's related to facebook/react#1691.
I was able to solve the problem by drilling down to the buttons themselves with document.getElementsByClassName and adding a click event listener calling e.preventDefault. Whew!
I don't know if this is really Formsy's fault, but I was hoping someone could point me in the right direction. I have a Formsy form that includes react-md-editor as one of its fields. The problem is that, if all the required fields are filled out and the submit button is enabled, the editing buttons on the Markdown editor also act as submit buttons, ruining the functionality of the editor. Any ideas as to what could be causing this?
The text was updated successfully, but these errors were encountered: