-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form with remote: true still send as HTML #174
Comments
@Merff do you have |
@stereodenis yes, I have |
@Merff but your form is not submitted by remotipart (it has no remotipart params) |
@stereodenis why? how I can add this params? |
I'm having this same issue. |
In my case the error was from jquery handler - "onchange" |
I'm facing the same problem. Any solution? @stereodenis |
@pedroadame check jquery handlers, in my case problem was from handler. |
@Merff I'm not using any jQuery handler. My form is displayed via AJAX in a vex (in case you don't know, is a JS modal library) dialog, and submitted via AJAX from there. Suddenly it started saying 'Invalid authenticity token', which was fixed by adding Currently I'm building the form again from scratch just to see what broken it, because I cannot figure out. |
@Merff I solved my issue, it turned out to be something with vex. Stopped using it, it worked flawlessly. |
I am having the same issue any solution @JangoSteve ? |
@vkeziah I ended up using ufujs-rails gem. Works like charm in my case with AJAX modal and file upload. In addition I use this approach to generate unique file names. |
Rails 5.2.0 here. It helped me to switch from |
Rails 5 and carrierwave
I add:
and
I have the form:
The output for that form:
But when i submit form:
Why send as HTML, any ideas ?
The text was updated successfully, but these errors were encountered: