In this case I’d use child controllers. There are a few threads here on how to do that effectively, but this discussion should probably help.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Stimulus Nested Form Remove Question
|
0 | 982 | May 25, 2022 | |
One controller and multiple repeating target or multiple controller for each area?
|
5 | 4065 | April 16, 2020 | |
A spreadsheet like controller for a table with two controllers with shared target
|
4 | 1941 | April 14, 2020 | |
Question on data-controller-target
|
2 | 856 | March 30, 2022 | |
Cross-controller communication for live-updates
|
2 | 626 | December 21, 2021 |