stimulus-rails-nested-form icon indicating copy to clipboard operation
stimulus-rails-nested-form copied to clipboard

A Stimulus controller to create new fields on the fly to populate your Rails relationship.

Results 13 stimulus-rails-nested-form issues
Sort by recently updated
recently updated
newest added

I am migrating my application to Rails 7 with importmap but this seems to break the nested form feature. Any ideas on how to bridge this issue?

In one of my pet project, I've found the issue. That component doesn't work if you need to have more than one nested model form. I've fixed and also save...

Hi, I just introduced this complenent to my pet project and found that it works well, except for the fact that I can't find a way to avoid creating duplicate...

Cocoon would allow developers to define a minimum and maximum number of nested forms, would be nice to do the same here without extending the controller. i.e. minimum = 1,...

Hi! I'm new to Stimulus, and I have a little issue trying to use the nested form component. I have a survey model with many questions, and my question model...

When using the stimulus-rails-nested-form library to dynamically add nested form fields, it has been observed that if the "add" action is triggered multiple times, the newly added input fields end...

I had to make assumptions based on the project files to work out what to do. It's not immediately clear for people like me who aren't familiar with this environment....

When using the stimulus-rails-nested-form library to dynamically add nested form fields, it has been observed that if the "add" action is triggered multiple times, the newly added input fields end...

I've added these lines in `app/webpacker/controllers/index.js` as per the instructions: ``` import NestedForm from 'stimulus-rails-nested-form'; ... application.register('nested-form', NestedForm); ``` But getting this compilation error and don't know how to fix...

I have a table where I want to add the rows at the end when I click the Add button. To do this, I needed to update the position. This...