0

As i'm searching for solution to my problem there are no ways to make option within optgroup as a combobox. Only design is what i got in w3schools.

<div class="form-group">
   <label class="control-label" for="txt_ClientName">Option Group&nbsp;<span style="color: red;">*</span></label>
    <select name="cars" id="cars" class="form-control">
           <optgroup label="Swedish Cars">
                  <option value="volvo">Volvo</option>
                  <option value="saab">Saab</option>
           </optgroup>
           <optgroup label="German Cars">
                  <option value="mercedes">Mercedes</option>
                  <option value="audi">Audi</option>
           </optgroup>
    </select>
</div>

Are their any alternative to make it a combobox within optgroup that option should behave as a checkbox.

Naman Kumar
  • 583
  • 1
  • 5
  • 16

1 Answers1

0

Found a solution in Bootstrap multi select here:-

http://davidstutz.github.io/bootstrap-multiselect/#configuration-options-enableClickableOptGroups

Naman Kumar
  • 583
  • 1
  • 5
  • 16