I´m having problems with a select multiple in angular. I´m using the library bootstrap-select.js and I have to assign the values in ng-options, but when I write the multiple attribute it brokes the select.
<select
ng-show="vm.showAuidit"
id="select_audits"
class="form-control selectpicker"
tabindex="-1"
ng-model='vm.type'
ng-change="vm.selectType()"
ng-init="vm.selectType()"
ng-selected="type.value === vm.type"
ng-options='type.value as type.name for type in vm.types'
ng-disabled="vm.selectEnable()"
multiple title="">
</select>
Does anybody knows how to implement a good select multipleworking with ng-options?
thanks!
ng-optionsusevm.typeswhereas ng-model hasvm.type. This might be causing problem