Open vercotux opened 10 years ago
In order to make MultiModelForm compatible with YiiBooster 4.x a very minor modification is needed.
MultiModelForm integrates beautifully when rendered as a YiiBooster form group like this:
<?php echo $form->widgetGroup('ext.multimodelform.MultiModelForm',$model,'memberAttr',array( 'widgetOptions' => array( 'model' => $member, 'validatedItems' => array(), 'data' => $model->members, 'bootstrapLayout' => true, 'formConfig' => array( 'elements'=>array( ... ), ), ), 'hint' => 'this is a hint', )); ?>
However this will only work if MultiModelForm has a public $htmlOptions attribute. Could we consider adding it?
Can you submit a pull request for this issue?
In order to make MultiModelForm compatible with YiiBooster 4.x a very minor modification is needed.
MultiModelForm integrates beautifully when rendered as a YiiBooster form group like this:
However this will only work if MultiModelForm has a public $htmlOptions attribute. Could we consider adding it?