Wbraganca Dynamic Form - add/remove buttons outside widget

(DBCreator) #1

I’m using https://github.com/wbraganca/yii2-dynamicform and have to do a nested dynamic form setup. In a general sense I can get it all functional. The last piece of the puzzle I’m struggling with is I need to place the add-item button for the nested dynamic form in the 1st dynamic form. I can easily add the button, but nothing happens. What would I have to do to bind the event to the button outside of its normal container? I thought it was linked to its unique class name, but apparently it relies on, I’m assuming, the container name as well.

Thank you for your help.