Organizational Research By

Surprising Reserch Topic

angularjs ng repeat form validation

angularjs ng repeat form validation  using -'javascript,angularjs'

I am using AngularJS 1.4.7. I am using an ng-repeat in a div surrounded by form as follows

     <form name="myForm">
        <div ng-repeat="product in ProductList">
       <input name="ProductName" ng-model="ProductName">

When i validate errors show up on all the ProductNames even if its valid, i know i have to use ng-form but i can not get it to work

The Angular docs were not enough. And could not find a solution that works


asked Oct 19, 2015 by akhilesh
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.