You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Yii2 basic application template. I am using this widget. But In my controller update action I am checking a condition when that condition is executed I am displaying an alert message box in javascript as well as returning the form with model. But after the alert box is displayed the dynamic form columns names appear to big or larger in size as well as the + and - buttons to add and remove the items also appear differently as shown in figure. But when I remove those lines which contains the alert box then it is working fine. How to resolve this?
if($count>0 && ($model->FormationDate!=$dateofformation||$model->JoiningDateWithIF!=$joiningdatewithif))
{
ob_start();
echo "<script language='javascript'>";
echo "alert('You cant update the Formation Date or Joining Date With IF because group saving details
exists for this group')";
echo "</script>";
return $this->render('update', [
'model' => $model,
'modelsmember' => (empty($modelsmember)) ? [new Memberdetails] : $modelsmember,
]);
ob_stop();
}
The text was updated successfully, but these errors were encountered:
I am using Yii2 basic application template. I am using this widget. But In my controller update action I am checking a condition when that condition is executed I am displaying an alert message box in javascript as well as returning the form with model. But after the alert box is displayed the dynamic form columns names appear to big or larger in size as well as the + and - buttons to add and remove the items also appear differently as shown in figure. But when I remove those lines which contains the alert box then it is working fine. How to resolve this?
The text was updated successfully, but these errors were encountered: