ewanchic PRO
Joined 2/27/2018
ewanchic PRO said about 3 years ago on Nested Forms from Scratch with StimulusJS :
FYI, Deprecated Warning:
Please replace data-target="nested-form.template" with data-nested-form-target="template". The data-target attribute is deprecated and will be removed in a future version of Stimulus.<template data-target="nested-form.template">

Please replace data-target="nested-form.add_item" with data-nested-form-target="add_item". The data-target attribute is deprecated and will be removed in a future version of Stimulus.<div data-target="nested-form.add_item">

ewanchic PRO said almost 3 years ago on Building a Questionnaire :
nested_form_controller.js is in the wrong location. In the Show Notes tab, you have it listed as:

# app/assets/javascripts/nested_form_controller.js

Instead, it should be:
# app/assets/javascripts/controllers/nested_form_controller.js