Boost Your Rails Forms: Creating Options On-the-Fly with Tom-Select, Stimulus, and Hotwire
When we have an object with a belongs_to relationship, we often use a select tag to list the data of the related entity. For example, we might have a select with all the available categories for a product […]
Nico ยท
15 August, 2024