Hi!
I really like the gem, but currently it seems impossible to trigger the insertion of the nested form from JS. Of course I can trigger the click event on the button from JS but that will not give me the inserted fields list back, and it has anyway a bad code smell.
Can you maybe merge #290 pullrequest? I would give a muchcleaner JS API to cocoon.
Hi!
I really like the gem, but currently it seems impossible to trigger the insertion of the nested form from JS. Of course I can trigger the click event on the button from JS but that will not give me the inserted fields list back, and it has anyway a bad code smell.
Can you maybe merge #290 pullrequest? I would give a muchcleaner JS API to cocoon.