Questions tagged [cocoon-gem]

Developing complex nested forms with jQuery is a breeze thanks to Cocoon. This tool seamlessly integrates with formtastic, simple_form, and standard forms, making the process smooth and efficient.

Using the Rails cocoon gem to populate numerous input fields

I'm currently implementing the cocoon gem in my rails application, where I have a form with two nested fields (categories and subcategories). Initially, only the first field is visible while the second one remains hidden. When the first select field h ...