nested_form_fields
Dynamically add and remove nested has_many association fields in a Ruby on Rails form (by ncri)
nested_form
Rails plugin to conveniently handle multiple models in a single form. (by ryanb)
nested_form_fields | nested_form | |
---|---|---|
1 | 1 | |
308 | 1,803 | |
- | - | |
0.0 | 10.0 | |
about 1 year ago | over 2 years ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nested_form_fields
Posts with mentions or reviews of nested_form_fields.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-15.
-
Is there an easy gem or workflow to manage form fields for `has_many`?
We are using simple forms in a turbo application. We are making use of stimuli-rails-nested-form controller (https://www.stimulus-components.com/docs/stimulus-rails-nested-form/) and a little helper taken from https://github.com/ncri/nested_form_fields & adapted to our use case:
nested_form
Posts with mentions or reviews of nested_form.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-15.
-
Is there an easy gem or workflow to manage form fields for `has_many`?
Anyway, there's also https://github.com/ryanb/nested_form it's no longer developed and uses jquery, but works on rails up to 6.1 (haven't tested it on 7)
What are some alternatives?
When comparing nested_form_fields and nested_form you can also consider the following projects:
Cocoon - Dynamic nested forms using jQuery made easy; works with formtastic, simple_form or default forms
vanilla-nested - Rails dynamic nested forms using vanilla JS
abyme - abyme is a modern take on handling dynamic nested forms in Rails 6+ using StimulusJS.