Ruby on Rails #80 Dynamic Forms with Turbo (not JS approach)

26/05/2022 (almost 2 years ago)

Learn how to add fields to a form dynamically based on your selection in previous fields

Episode Source Code:

0:00 Intro
1:05 Scaffold Posts
2:05 Conditional Validations. Enum
4:25 Conditionally Display Passcode field
5:51 Custom Form Button
9:07 Stimulus clicker
13:28 Turbo Frame
15:03 Turbo Stream inside Frame
16:52 Summary

Sign in to join the conversation