All threads / StimulusJs Modal - render different controller view inside
Ask A Question

Notifications

You’re not receiving notifications from this thread.

StimulusJs Modal - render different controller view inside

Aaron Xavier asked in Javascript

Chris, a great screencast would be to use the a global Stimulus Js Modal that you can use to render views inside (say show/edit of controller views) This is something that can/should be part of JumpStart pro so that when you are in index page of any controller, a view action pops open Modal and renders the show inside.

Majority of the time, controller's show and edit pages are small enough where they should actually be rendered inside Modal using Stimulus Js. This is a solution I am trying to find from Google, so far no luck.

Your TailwindCSS Stimulus Components Modal is great, but to use it to render other views inside would be more awesome.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 66,029+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.