Open YGugnin opened 8 years ago
I am also facing the same issue, but your solution is not working. Could you please help me out on this..
Thanks, Varma
varmad, I think this is particular situation, so you have to look in to your code
use backend\components\dynamicform\DynamicFormWidget; dynamicform.zip
Issue resolved thanks for your help @YGugnin :+1:
Hello, I have exactly same issue with multiple dynamic forms on same page. I tried the zip file and tried changing javascript with the code YGugnin provided. Still no luck. Could you please guide me to solve it I'm good at js. Thanks
https://github.com/wbraganca/yii2-dynamicform/blob/master/src/assets/yii2-dynamic-form.js#L268
I had problems with multiple forms (wrong ids calculation)
$(widgetOptions.widgetItem).each(function(index) {
fixed this problem