We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
eval
No description provided.
The text was updated successfully, but these errors were encountered:
quickly took a stab at this. what happens is that rails-ujs already detects that the response is js and does the following:
// const responseText = 'alert("hello world!")' const script = document.createElement("script") script.setAttribute("nonce", cspNonce()) script.text = responseText document.head .appendChild(script) .parentNode.removeChild(script)
stimulus-remote-rails then goes on and inserts what's in responseText as html.
responseText
what do you intend to do here?
Sorry, something went wrong.
Hum, I need to check how it behaves, maybe there is nothing to do.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: