A Stimulus controller to create new fields on the fly to populate your Rails relationship.
rails-nested-form:add
and rails-nested-form:remove
events.stimulus-rails-nested-form
to @stimulus-components/rails-nested-form
https://github.com/stimulus-components/stimulus-rails-nested-form/compare/v4.1.0...v5.0.0
name
in library export to use the package with CDN, Sprockets and import-maps
.Stimulus
as external library reducing size from 10.29 KiB
to 0.72 kB
.4.x
.18.x
.https://github.com/stimulus-components/stimulus-rails-nested-form/compare/v4.0.0...v4.1.0
3.x
and change namespace from stimulus
to @hotwired/stimulus
.wrapperSelector
.https://github.com/stimulus-components/stimulus-rails-nested-form/compare/v3.0.0...v4.0.0
values
static property- <form data-controller="nested-form" data-nested-form-wrapper-selector=".nested-form-wrapper">
+ <form data-controller="nested-form" data-nested-form-wrapper-selector-value=".nested-form-wrapper">
https://github.com/stimulus-components/stimulus-rails-nested-form/compare/v1.1.0...v2.0.0