{"action":"created","issue":{"url":"https://api.github.com/repos/troch/angular-multi-step-form/issues/58","repository_url":"https://api.github.com/repos/troch/angular-multi-step-form","labels_url":"https://api.github.com/repos/troch/angular-multi-step-form/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/troch/angular-multi-step-form/issues/58/comments","events_url":"https://api.github.com/repos/troch/angular-multi-step-form/issues/58/events","html_url":"https://github.com/troch/angular-multi-step-form/issues/58","id":179738338,"number":58,"title":"On Next button click validate the form ","user":{"login":"madhuvuvaddi","id":22495826,"avatar_url":"https://avatars.githubusercontent.com/u/22495826?v=3","gravatar_id":"","url":"https://api.github.com/users/madhuvuvaddi","html_url":"https://github.com/madhuvuvaddi","followers_url":"https://api.github.com/users/madhuvuvaddi/followers","following_url":"https://api.github.com/users/madhuvuvaddi/following{/other_user}","gists_url":"https://api.github.com/users/madhuvuvaddi/gists{/gist_id}","starred_url":"https://api.github.com/users/madhuvuvaddi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhuvuvaddi/subscriptions","organizations_url":"https://api.github.com/users/madhuvuvaddi/orgs","repos_url":"https://api.github.com/users/madhuvuvaddi/repos","events_url":"https://api.github.com/users/madhuvuvaddi/events{/privacy}","received_events_url":"https://api.github.com/users/madhuvuvaddi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-28T10:41:33Z","updated_at":"2016-09-28T10:49:16Z","closed_at":null,"body":"I have verified that here we are disabling next button until the form is valid but I want to validate and set the focus to first element of the step when user hit the next button is it possible with this library?\r\nwant to call this code on next step\r\nif(!formCtrl.$valid){\r\n            \t\t element[0].querySelector('.ng-invalid').focus();        \t\t\r\n            \t\t var myEl = angular.element( element[0].querySelector('.ng-invalid') );\r\n            \t\t myEl.css('border','solid 1px red');\r\n\r\n            \t }"},"comment":{"url":"https://api.github.com/repos/troch/angular-multi-step-form/issues/comments/250134131","html_url":"https://github.com/troch/angular-multi-step-form/issues/58#issuecomment-250134131","issue_url":"https://api.github.com/repos/troch/angular-multi-step-form/issues/58","id":250134131,"user":{"login":"troch","id":1777517,"avatar_url":"https://avatars.githubusercontent.com/u/1777517?v=3","gravatar_id":"","url":"https://api.github.com/users/troch","html_url":"https://github.com/troch","followers_url":"https://api.github.com/users/troch/followers","following_url":"https://api.github.com/users/troch/following{/other_user}","gists_url":"https://api.github.com/users/troch/gists{/gist_id}","starred_url":"https://api.github.com/users/troch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troch/subscriptions","organizations_url":"https://api.github.com/users/troch/orgs","repos_url":"https://api.github.com/users/troch/repos","events_url":"https://api.github.com/users/troch/events{/privacy}","received_events_url":"https://api.github.com/users/troch/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T10:49:16Z","updated_at":"2016-09-28T10:49:16Z","body":"This has nothing to do with this library, within a step (partial + controller) you can do whatever you want."}}
{"actor":{"display_login":"troch"}}