RailsConf 2021: All you need to know to build Dynamic Forms (JS FREE) - Santiago Bartesaghi
Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=6WlFjFOuYGM
Working with forms is pretty common in web apps, but this time my team was requested to give support for dynamic forms created by admins in an admin panel and used in several places (real story). There are many ways to implement it, but our goal was to build it in a way that felt natural in Rails.
This talk is for you if you’d like to learn how we used the ActiveModel's API together with the Form Objects pattern to support our dynamic forms feature, and the cherry on top is the usage of Hotwire to accomplish some more advanced features. And all of this is done without a single line of JS :)
Other Videos By Confreaks
Tags:
Rails
RailsConf
RubyonRails
RubyCentral