Thanks Sander.  Please see it 
here http://plnkr.co/edit/hDdVsLukBquRiQffiblT?p=preview

Not exactly what I want to show but basically the gist is I need filter the 
input based on a selected Id.  Once user has input, I want to grab that 
only without iterating into the JSON object to find out what has been 
updated and what not.  I tried to filter it.  Something like getting the 
index of the filtered item?

Stan

On Friday, November 7, 2014 2:00:47 PM UTC-8, Stanley Nguyen wrote:
>
> <div class="form-group" ng-repeat="parameter in myLQE.LQP"> 
>    <ng-form name="paramForm"> 
>       <label for={{parameter.DisplayName}}>{{parameter.DisplayName}}
> </label> 
>       <input type="{{parameter.DataTypeDescription}}" class="form-control" 
> name="paramInput" ng-model="parameter.Value" required> 
>       <div ng-show="paramForm.paramInput.$dirty && 
> paramForm.paramInput.$invalid"> 
>          <span class="error">A {{parameter.DataTypeDescription}} value is 
> required.</span> 
>       </div> 
>    </ng-form> 
> </div> 
>
>
> I need to update a form but I have a tough time to get the updated values. 
>  The number of parameters is not fixed as well as its DisplayName.  Any 
> suggestion here?
>
> Thanks,
>
> Stan
>

-- 
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