UNPKG

@stimulus-components/rails-nested-form

Version:

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

24 lines (14 loc) 1.32 kB
# Stimulus Rails Nested Form [![](https://img.shields.io/npm/dt/stimulus-rails-nested-form.svg)](https://www.npmjs.com/package/stimulus-rails-nested-form) [![](https://img.shields.io/npm/v/stimulus-rails-nested-form.svg)](https://www.npmjs.com/package/stimulus-rails-nested-form) [![](https://github.com/stimulus-components/stimulus-rails-nested-form/workflows/Lint/badge.svg)](https://github.com/stimulus-components/stimulus-rails-nested-form) [![](https://github.com/stimulus-components/stimulus-rails-nested-form/workflows/Test/badge.svg)](https://github.com/stimulus-components/stimulus-rails-nested-form) [![](https://img.shields.io/github/license/stimulus-components/stimulus-rails-nested-form.svg)](https://github.com/stimulus-components/stimulus-rails-nested-form) ## Getting started A Stimulus controller to create new fields on the fly to populate your Rails relationship with `accepts_nested_attributes_for`. ## 📚 Documentation See [stimulus-rails-nested-form documentation](https://www.stimulus-components.com/docs/stimulus-rails-nested-form/). ## 👷‍♂️ Contributing Do not hesitate to contribute to the project by adapting or adding features ! Bug reports or pull requests are welcome. ## 📝 License This project is released under the [MIT](http://opensource.org/licenses/MIT) license.