{"action":"created","issue":{"url":"https://api.github.com/repos/huei90/angular-validation/issues/139","labels_url":"https://api.github.com/repos/huei90/angular-validation/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/huei90/angular-validation/issues/139/comments","events_url":"https://api.github.com/repos/huei90/angular-validation/issues/139/events","html_url":"https://github.com/huei90/angular-validation/issues/139","id":108046756,"number":139,"title":"ng-repeat表单,angularjs 1.2.x验证无效，angularjs 1.3.x有效，1.2.x不支持吗?","user":{"login":"chenli1989","id":8178749,"avatar_url":"https://avatars.githubusercontent.com/u/8178749?v=3","gravatar_id":"","url":"https://api.github.com/users/chenli1989","html_url":"https://github.com/chenli1989","followers_url":"https://api.github.com/users/chenli1989/followers","following_url":"https://api.github.com/users/chenli1989/following{/other_user}","gists_url":"https://api.github.com/users/chenli1989/gists{/gist_id}","starred_url":"https://api.github.com/users/chenli1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenli1989/subscriptions","organizations_url":"https://api.github.com/users/chenli1989/orgs","repos_url":"https://api.github.com/users/chenli1989/repos","events_url":"https://api.github.com/users/chenli1989/events{/privacy}","received_events_url":"https://api.github.com/users/chenli1989/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/huei90/angular-validation/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-24T02:58:25Z","updated_at":"2015-09-25T02:40:35Z","closed_at":null,"body":"angularjs-1.2.x submit提交验证无效\r\n<form name=\"Form6\" id=\"form6\">\r\n            <fieldset>\r\n                <legend>Form (ng-repeat)</legend>\r\n                <label>Required</label>\r\n                <div ng-repeat=\"a in form6.required\">\r\n                    <input type=\"text\" name=\"emailRequiredOnly{{$index}}\" ng-model=\"a.required\" validator=\"required\" message-id=\"emailRequiredOnly{{$index}}\"/>\r\n                    <span id=\"emailRequiredOnly{{$index}}\"></span>\r\n                </div>\r\n                <blockquote ng-non-bindable>\r\n                    In name attribute we have to use {{$index}}\r\n                    <cite>eg. emailRequiredOnly{{$index}}</cite>\r\n                </blockquote>\r\n\r\n                <ul class=\"button-group\">\r\n                    <li><button class=\"button\" validation-submit=\"Form6\">Submit</button></li>\r\n                    <li><button class=\"button alert\" validation-reset=\"Form6\">Reset</button></li>\r\n                    <li><button class=\"button secondary\" ng-disabled=\"!form6.checkValid(Form6)\">checkValid = {{ form6.checkValid(Form6) }}</button></li>\r\n                </ul>\r\n                <!-- <pre>{{ form | json }}</pre> -->\r\n            </fieldset>\r\n        </form>\r\n<script src=\"//cdn.bootcss.com/angular.js/1.2.28/angular.min.js\"></script>"},"comment":{"url":"https://api.github.com/repos/huei90/angular-validation/issues/comments/143107677","html_url":"https://github.com/huei90/angular-validation/issues/139#issuecomment-143107677","issue_url":"https://api.github.com/repos/huei90/angular-validation/issues/139","id":143107677,"user":{"login":"huei90","id":2560096,"avatar_url":"https://avatars.githubusercontent.com/u/2560096?v=3","gravatar_id":"","url":"https://api.github.com/users/huei90","html_url":"https://github.com/huei90","followers_url":"https://api.github.com/users/huei90/followers","following_url":"https://api.github.com/users/huei90/following{/other_user}","gists_url":"https://api.github.com/users/huei90/gists{/gist_id}","starred_url":"https://api.github.com/users/huei90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huei90/subscriptions","organizations_url":"https://api.github.com/users/huei90/orgs","repos_url":"https://api.github.com/users/huei90/repos","events_url":"https://api.github.com/users/huei90/events{/privacy}","received_events_url":"https://api.github.com/users/huei90/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T02:40:35Z","updated_at":"2015-09-25T02:40:35Z","body":"@chenli1989 Thanks for reporting this.\r\nI have found that 1.2.28 is not able to parse {{$index}}, therefore we have to special handle for this bug."}}