joaoneto / angular-bootstrap-select

DEPRECATED DON'T USE - Directive to wrap bootstrap-select
105 stars 81 forks source link

Using with Multiple #26

Open avarndell opened 9 years ago

avarndell commented 9 years ago

When using multiple with angular and the data only has one item selected in the multiple dropdown, it's not showing the one selected item. [ < td ng-repeat="(key, value) in attributes"> < div ng-if="value.property =='MultiSelect' ">
< select selectpicker="" class="form-control" name="uAttr_{{key}}[]" ng-model="selectedDevice.attributes[key.toLocaleLowerCase()]" multiple="multiple" ng-options="attrType for attrType in value"> < /td>]

the value of selectedDevice.attribues[key.toLocaleLowerCase() = ["700 Mhz"]