Merge "Subnet dropdown list has empty fields"

This commit is contained in:
Jenkins 2016-09-30 18:11:55 +00:00 committed by Gerrit Code Review
commit 8a011f9641
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<span class="hz-icon-required fa fa-asterisk"></span>
</label>
<select class="form-control" name="subnet" id="subnet"
ng-options="subnet.name for subnet in model.subnets"
ng-options="subnet.name || subnet.id for subnet in model.subnets"
ng-model="model.spec.loadbalancer.subnet" ng-required="true"
ng-disabled="model.context.id">
</select>