E
E
EVOSandru62015-10-07 16:20:12
Yii
EVOSandru6, 2015-10-07 16:20:12

Why is the Yii multimodelform component not outputting anything?

Good afternoon,
the output of the multimodel form is not displayed:
I did everything according to the manual for actionCreate and actionUpdate
I did everything like here www.yiiframework.com/extension/multimodelform , no errors are displayed, but nothing is displayed, what could be the reason?

$memberFormConfig = array(
    'elements'=>array(
        'namвe'=>array(
            'type'=>'text',
            'maxlength'=>40,
        ),
    ));

$this->widget('ext.multimodelform.MultiModelForm',array(
    'id' => 'id_member',
    'formConfig' => $memberFormConfig,
    'model' => $member,
    'validatedItems' => $validatedMembers,
    'data' => ActiveRecord::model('Rooms')->findAll('hotel_id=:hotel_id', array(':hotel_id'=>$model->id)),
));

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question