How to create modals with form handling through a Turbo frame
Rendering async content in a modal has become really easy with the latest version of Turbo.js. There’s one trick that’s needed to ensure the validation errors stay displayed right in the modal.
See the full solution here:
https://www.howtoruby.com/2023/02/23/how-to-create-modals-with-form-handling-through-a-turbo-frame/
Post a comment