I have a problem with ng-options. I can't get rid of the blank option in my ng-options with multi select.
I tried this solutions but this works for single select. Is there any solution for multi select.
HTML
<select ng-model="feed.config" ng-options="item.name for item in configs" multiple> <!-- <option value="" ng-if="false"></option> works only for single select --> </select> JS
$scope.feed = {}; $scope.configs = [{'name': null,'value': 'config1'}, {'name': 'Config 2', 'value': 'config2'}, {'name': 'Config 3','value': 'config3'} ];