kartik-v / yii2-tabs-x

Extended bootstrap tabbed navigation widget for Yii 2.0 with various alignment and styling options.
Other
30 stars 17 forks source link

Update Form does not work in TabX #59

Closed alexsantm closed 5 years ago

alexsantm commented 6 years ago

Hi..!! I have a problem with TabX. I need to call an update view (sending id). But when I go to form and click in update, nothing happen, only the main view is refreshed and de data does not update. Maybe can you help me telling me about what can I do to call an update form and save data correctly??

My code is: $model_detalle = app\models\DetalleCampania::findOne($id_vista_sms);
$vista_sms = $this->render('//detalle-campania/updatesms', [ 'model' =>$model_detalle, ]);

I have a TabX: echo TabsX::widget([ 'position' => TabsX::POS_LEFT, 'align' => TabsX::ALIGN_CENTER, 'encodeLabels'=>false, 'enableStickyTabs'=>true,
'items' => [

                [
                    'label' => 'Mensajes de Texto',
                    'content' => $vista_sms,
        //            'headerOptions' => ['style'=>'font-weight:bold'],

                    'options' => ['id' => 'sms'],
                    'headerOptions' => ['style'=>'font-size:14px;'],
                    'bordered'=>true,
                ],

Thanks a lot..!!!

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.