multiselect dropdown not working

I’m using yii dropdownlist and when i add ‘multiple’ => ‘multiple’, then block of that dropdown will get disappeared.

My code is below:

<link rel="stylesheet" href="dist/css/bootstrap-3.1.1.min.css" type="text/css">

<link rel="stylesheet" href="dist/css/bootstrap-multiselect.css" type="text/css">

<link rel="stylesheet" href="dist/css/prettify.css" type="text/css">

<script type="text/javascript" src="dist/js/jquery-2.1.0.min.js"></script>

<script type="text/javascript" src="dist/js/bootstrap-3.1.1.min.js"></script>

<script type="text/javascript" src="dist/js/bootstrap-multiselect.js"></script>

<script type="text/javascript" src="dist/js/prettify.js"></script>

<div class=“form-group xtype-sel”> <div class=“sel-holder”> <?php echo CHtml::dropDownList(‘type’, ‘’, $color, [ ‘empty’=>‘Select’, ‘class’=>‘type-sel filter-sel’, ‘id’ => ‘xyz’, ‘multiple’ => true, ]);





$( document ).ready(function() {




PFA snapshot for the dropdown.

In the snapshot I want checkbox in dropdown (ie. multiselect) but adding checkbox in dropdown , the dropdown block is disappeared from the page.

I’m new to Yii, Plz help me regarding how to solve, i’m struggling from last 2 days , thanx in advance.

You can try this extension…it should solve your problem