Update on bootstrap modal window


I need to render update form on bootstrap modal window in order to update the details. I can be able to see the form. but i could not be able to update the content. Whenever i try to update its getting closed and update nothing.

Here’s the code as follows:

use yii\bootstrap\Modal



'header' =&gt; '&lt;h2&gt;Hello world&lt;/h2&gt;',

'toggleButton' =&gt; ['label' =&gt; 'click me'],



echo  &#036;this-&gt;render('_form', [

	'model' =&gt; &#036;model,





I had the exact same thing happen to me and it turned out it was a conflict with a web template I was using. So what I’d suggest is, if that could be your case, to remove anything third-party and see if you can get the modal to work correctly. If it does work then I’d begin to reintroduce the template Javascript files and CSS files until it starts happening again.

Also check to make sure you 're not somehow using two version of Bootstrap.