nested_form
Rails plugin to conveniently handle multiple models in a single form. (by ryanb)
vanilla-nested
Rails dynamic nested forms using vanilla JS (by arielj)
nested_form | vanilla-nested | |
---|---|---|
1 | 3 | |
1,803 | 168 | |
- | - | |
10.0 | 3.9 | |
over 2 years ago | 4 months 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
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)
vanilla-nested
Posts with mentions or reviews of vanilla-nested.
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`?
-
JavaScript error in Rails 7
I know it sounds like advertisement, but you can use my gem for that https://github.com/arielj/vanilla-nested, it does not require jquery and works with importmaps or js bundlers.
-
Tutorials for creating dynamic forms ?
I have a gem for that https://github.com/arielj/vanilla-nested and I was invited to the SupeRails screencast where we talked a bit about how it works https://www.youtube.com/watch?v=iLKnbK__2_M
What are some alternatives?
When comparing nested_form and vanilla-nested you can also consider the following projects:
Cocoon - Dynamic nested forms using jQuery made easy; works with formtastic, simple_form or default forms
abyme - abyme is a modern take on handling dynamic nested forms in Rails 6+ using StimulusJS.
nested_form_fields - Dynamically add and remove nested has_many association fields in a Ruby on Rails form