Fantastic ideas! Thank you very much! Hotwire and Turbo is really an amazing tool! You just have to change your mindset to work properly with it.
@prasea75 ай бұрын
If your validation error message is being shown on .html.erb instead of remote_modal, update your controller's create and update action method.
@devinlounge2 жыл бұрын
This episode have some errors and isn't using import maps
@chandanjachpure55622 жыл бұрын
Hi its very useful but, what about multiple modal open with different fields?
@med3vall2 жыл бұрын
Thanks great episode
@mikopiko2 жыл бұрын
That's really powerful, but my I ask? How was it possible for Rails to add the error message at 15:42 just by you adding the validates method in the Project modal? Didn't you add anything in the view?
@saqibhabib46782 жыл бұрын
same question!
@mikopiko2 жыл бұрын
@@saqibhabib4678 I think the errors comes with the scaffold.
@saqibhabib46782 жыл бұрын
@@mikopiko yup ..
@mooktakim2 жыл бұрын
the form builder shows the errors on page if there is any
@mikopiko2 жыл бұрын
@@mooktakim Thanks
@RatanachaiS Жыл бұрын
Why do we need target: :_top ?
@juanicolas842 жыл бұрын
at 6:34 should be "r => r.text()" not "t.text()" right?
@juanicolas842 жыл бұрын
The answer is yes, you can see it corrected in 12:50