Reputation: 1896
I have a problem where, when I upgraded to Rails 5.1, one of my forms does not work. Specifically, if I click on the submit button, it gets disabled and the form does not submit. I think the issue is UJS, which was not present in my app in previous Rails releases. BTW, the "form" element is pure HTML (no Rails form helper) and the submit button uses "submit_tag".
So, this brings up two questions:
How do I disable UJS in a given page or form.
How do I troubleshoot this issue (or, in general, issues with UJS)?
And, of course, if you have the gift of sight and can tell me why my form is behaving this way, I would offer up a sacrifice in your name.
Upvotes: 0
Views: 249