Solve the problem about getting wrong information

Solve the problem about getting wrong information while inputting
"Count" creating instance.

Change-Id: I906a2a4545075f529514f50d0ceee8a66fe47f2b
Close-bug: #1671312
This commit is contained in:
hanwei 2017-03-08 21:26:11 -05:00
parent b65ca8cbea
commit e0081eedcb

View File

@ -43,7 +43,7 @@
validate-number-min="1" validate-number-min="1"
validate-number-max="{$ ctrl.maxInstanceCount $}"> validate-number-max="{$ ctrl.maxInstanceCount $}">
<span class="help-block" ng-show="launchInstanceDetailsForm.count.$invalid"> <span class="help-block" ng-show="launchInstanceDetailsForm.count.$invalid">
{$ launchInstanceDetailsForm['instance-count'].$error.validateNumberMax ? ctrl.instanceCountMaxError : ctrl.instanceCountError $} {$ launchInstanceDetailsForm.count.$error.validateNumberMax ? ctrl.instanceCountMaxError : ctrl.instanceCountError $}
</span> </span>
</div> </div>
</div> </div>