lundi 28 mars 2016

How to use Checkbox inside Select options in Knockout

Hi I want to add checkbox for all the options in dropdown.

My HTML is like this -

<div class="multi-select-dd-list"> 
            <div id="checkboxes" class="patient-list-selection">                
               <select class="patient-list-select specialty-list-left" data-bind="options : specialtiesList, optionsText : 'name'"></select>
            
        </div> 
    </div>

So here I am binding specialtiesList.

What I want is a way to use checkbox before each option of the dropdown. Any suggestions?




Aucun commentaire:

Enregistrer un commentaire