How to create seamless modal forms with Turbo Drive
Turbo Frames inspired us to ask for a piece of html to work regardless if it is rendered on it’s own page, or as part of another page. I’m borrowing the same idea to apply it to modals. Goal is to not introduce any changes to the backend code (no Turbo Streams), but still be able to submit forms and see validation errors.
See more here:
https://www.howtoruby.com/how-to-create-seamless-modals-with-turbo-drive/
Post a comment