Hi everyone,

I am trying to validate some input but it doesn't seem to be working.  Not 
sure what's wrong.  Appreciate any tip here


Thanks,

Stanley

<form name="LQEPersist">

<div class="form-group" ng-repeat="parameter in 
myLQE.QueryParameterDescriptors">

<label for={{parameter.Description}}>{{parameter.Description}}</label>

<input type="number" class="form-control" name="{{$index}}" ng-model=
"myLQE.opParams[parameter.ID]" required>

<div ng-show="LQEPersist.{{$index}}.$dirty && 
LQEPersist.{{$index}}.$invalid">

<span class="error">A {{parameter.ReturnTypeDescription}} value is required.
</span> 

</div>

</div>

</form>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to