is there a way to add a default value in Yii2 to a dynamicform field?
something like AfterInsert Add some value to the new added field
<?= $form->field($newmodelDetConta, "[{$i}]abono")->label(false)->textInput
([
'maxlength' => true,
'value' => '0.00',
'class' => 'form-control txtabono',
'style' => 'text-align: right',
'type' => 'number',
'type' => ['number',2],
'format'=> ['decimal',2]
]) ?>
this only works for the first field, but when I click add the value is empty and not "0.00"