Subnet dropdown list has empty fields
If subnet's name is '', then it falls back to the id value. Change-Id: I30b31711f08407ec970d6258b314a8b44a5015af
This commit is contained in:
parent
aba14a4ccd
commit
b6d95570e2
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue