0

I have a multi-selectable select element, but when the multiple attribute is used it loads in an open state.

I want it to appear as a dropdown and only open when I click on it. (I am using AngularJS ver 1.4.9)

  <div class="btn-group">
      <select ng-options="e for e in vm.plannedEmployees track by e" multiple="multiple" ng-model="selectedEmployee" ng-change="vm.employeeSelectClick(selectedEmployee)">
      </select>
   </div>
Pardeep
  • 2,153
  • 1
  • 17
  • 37
Rob
  • 37
  • 5
  • 2
    Possible duplicate of [AngularJS directive for a multi-select](https://stackoverflow.com/questions/28568651/angularjs-directive-for-a-multi-select) – Nishanth Mar 03 '18 at 00:12
  • See [this jsfiddle](https://jsfiddle.net/y8stzw6s/1/) -- that's without any AngularJS. Just plain ole HTML. Note how it is in an "open" state. That's how multiple selects have rendered since time immemorial. – Heretic Monkey Mar 03 '18 at 00:39

0 Answers0