Inline Editing with Turbo Frames in Rails
Vložit
- čas přidán 31. 01. 2022
- ► Check out gorails.com for Pro episodes and more!
► SaaS business template for Ruby on Rails with built-in features like Payments, Teams, and much more: jumpstartrails.com
► Ruby on Rails hosting with Hatchbox.io: hatchbox.io
► Learn how to add Stripe Payments (with SCA support!) with Ruby on Rails: courses.gorails.com/payments-... - Věda a technologie
hello again Chris, you are awesome, thank you for share your knowledge with us!
I'm just gonna say it, like we say it here: PARCERO GRACIAS!! it was incredible, you are such a good teacher.
Great Tutorial Nice Job
Thank you sir! That's one of the clearest tutorials about turbo
You're welcome! Thanks for watching!
Absolutly great, thanks a lot Chis for this precise learning shared on turbo frame + refactoring methodology. All the best
Fantastic! We have been long waiting for this inline editing without JS for years.
This is such a great example in multiple ways. Thanks!
Wow, really great stuff. I'm very new to Hotwire and this kind of blew my mind. It would never have occurred to me to have conditional buttons that are hidden some of the time.
Same! Sean Doyle who contributes a lot to Hotwire has told me to basically try using frames for everything before you reach for other features of Hotwire like Turbo Streams and I think it's great advice. That way you get these features implemented clean and without any custom js
@@GorailsTV It is really cool. The only hesitation I have is that it seems every form page becomes more tightly coupled to the other pages that might call it. I think part of what I have to really shift my mindset for is this whole multi-format response that Rails seems to do (I'm not actually using Rails). The HTML vs. JSON vs. Streams stuff, I've never really coded a page that could return different formats before. Will take some getting used to.
Thanks for amazing tutorial 😍😍😍
Hoping to see more tutorial in turbo frames and turbo drive 😜
Yes! Lots more coming soon.
Amazing tutorial. Keep 'em coming!
These videos are so helpful if I could I would subscribe a bunch of times 😀
That's awesome!
Great tutorial ! do you know how can I implement inline editing on a nested form ?
This is really great especially when refactoring all the input into *_inline_fields*, however I have a question, What if I would like to made a specific input for let's say the select categories to auto submit using *onchange:* attribute without changing the edit form behavior when I actually visiting the edit article page? where and how do you think I should put it? Thanks!
🔥🔥🔥🔥 waiting for button spinner on submit too
i think you already done my request
I found a but, when I try to edit 2 times the same content the turboframe can not be found