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
I want to show a form as a modal, and also as a normal page.
This simple code fails during runtime with the exception from the title:
<%= modal(advance: false, title:) do %>
It fails in lib/ultimate_turbo_modal/base.rb:55 (see attached stacktrace)
The modal code works in my form, when it is ...
It does not work, when ...
I'm using the newest version of Rails & Co. Turbo works fine in my app.
See my Gemfile.lock
Also: stacktrace.txt
The text was updated successfully, but these errors were encountered:
In case anybody else needs the fix:
# application_helper.rb def mymodal(**options, &block) begin modal(**options, &block) rescue => e capture(&block) end end
Sorry, something went wrong.
@cmer First of all , nice solution , I am still studying it to try to make it more general, I was looking for such a solution for a long time.
Secondly, Is the proposed solution a good one? If so , why not to put it into the gem ?
I am also receiving this error, and can help with a PR
Let me investigate this further I never saw this before.
No branches or pull requests
I want to show a form as a modal, and also as a normal page.
This simple code fails during runtime with the exception from the title:
It fails in lib/ultimate_turbo_modal/base.rb:55 (see attached stacktrace)
The modal code works in my form, when it is ...
It does not work, when ...
I'm using the newest version of Rails & Co. Turbo works fine in my app.
See my Gemfile.lock
Also: stacktrace.txt
The text was updated successfully, but these errors were encountered: