If somebody is looking for a solution that uses only Javascript, I have just created this library that should do this work.
https://github.com/feliperenan/dynamic_nested
The code I have there is just a start after facing this problem again in my new project. So it’s just about adding/removing group of fields. Feel free to contribute if you have any ideas ![]()






















