I would like to design a multi select drop down functionality in angular using bootstrap 4. Following is the image below.
Following is my implementation as of now.
             <div class="form-group">
                      <label>Employee privilege</label>
                      <select id="employeePrivelege" data-style="btn-default" 
                      class="selectpicker form-control" 
                      formControlName="employeePriveleges"
                      multiple data-max-options="2">      
                        <option selected>Mustard</option>
                        <option selected>Barbecue</option>
                          </select>
                    </div> 
I have 2 problems
- An element is not selected if I add the selectedattribute onoption
I know this is happening because of the fact that I do not use jQuery and I do not want to add JQuery as this is not recommended in Angular.
Questions I have is
- What is the simplest option of implementing a multiple dropdown UI component in Angular with or without bootstrap 4




