vanilla-nested
vanilla-nested copied to clipboard
Rails dynamic nested forms using vanilla JS
When deleting an already rendered child association (not added by vanilla nested) using the `link_to_remove_nested`, the library executes these lines: https://github.com/arielj/vanilla-nested/blob/083064c6985578e1747d62b27ab05d46eaf28728/app/assets/javascripts/vanilla_nested.js#L60-L70 The issue might be that when emptying out the...
I have added a new parameter "partial_extra_params" on link_to_add_nested helper to permit user to send other extra parameters to the nested fields attributes. In my example i have a form...
something like `tabindex="0"` should be added to the links so that they can be `Tab`-bed to. Will add more on this later @yshmarov ...
I'm trying to use this gem to add a two-level structure: Theme --(has many)--> ThemeSection --(has_many)--> ThemeSectionItem. However, it seems that I'm running into a bug where `"` is not...
Hi, The [store_model](https://github.com/DmitryTsepelev/store_model) gem is a handy way to embed ActiveModel models inside other models and supports Arrays, which would be great to use with vanilla-nested. Unfortunately these relations are...
This PR adds support for creating a form with 3 levels: the parent form, dynamic children, and dynamic grandchildren. This requires a new convention to work properly since it's simple...
What is the proper way to preload some empty vanilla-nested rows in a form? Right now, I'm simply calling he `.click()` method on `button.vanilla-nested-add`. I call it 3 times in...