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: https://github.com/corsego/80-turbo-dynamic-forms/commit/7d416aa68aeb49a360aaded21517dcf3e4ae72e3

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


2
Sign in to join the conversation