kidzen / yii2-dynamicform

It is widget to yii2 framework to clone form elements in a nested manner, maintaining accessibility.
Other
16 stars 17 forks source link

How to not duplicate values of input fields while adding a new dynamic form? #20

Open vitalypark0555 opened 5 years ago

vitalypark0555 commented 5 years ago

When I fill all the fields of the first dynamic form, adding a new one all fields are filled in it by the values of the former one. How can I create just empty new form?

kidzen commented 5 years ago

Please ensure the field are mark with indexes ({$i}) for dynamic form field..

   ...
    <?= $form->field($asset, "[{$i}]category_id")->label(Yii::t('app', 'Category'))
   ...
kidzen commented 5 years ago

please do composer update...i have mistakenly publish dev branch...tq for your support

vitalypark0555 commented 5 years ago

Good day, kidzen. Why namespace is wbraganca/dynamicform if in the instruction you wrote like kidzen/dynamicform

kidzen commented 5 years ago

indeed, this repo originally from wbraganca/dynamicform in which now im maintaining on my own repo since the owner no longer active.. could you point out any mistake if i miss out any namespace refactor?

masgeek commented 5 years ago

This issue is still present in the dev/master branch