I have created a Modal Form for registering some data. The form elements are showing perfectly.
When I try to add bootstrap.widgets (Tbselect2 || toggle button …) the widget is not showing…
If I execute the same form not in a Modal everything is rendering properly!!
I do guess it might be overlapping jquery.js but I just check it so it should be another issue …
This is the way I call the form from my controller :
if (Yii::app()->request->isAjaxRequest)
{
echo CJSON::encode(array(
'status'=>'failure',
'div'=>$this->renderPartial('_form', array('model'=>$model, 'productid'=>$id), true)
));
exit;
}
Any ideas? Anyone have had the same issues?
Thanks,
Jona