{"action":"created","issue":{"url":"https://api.github.com/repos/formly-js/angular-formly/issues/473","labels_url":"https://api.github.com/repos/formly-js/angular-formly/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/formly-js/angular-formly/issues/473/comments","events_url":"https://api.github.com/repos/formly-js/angular-formly/issues/473/events","html_url":"https://github.com/formly-js/angular-formly/issues/473","id":107287135,"number":473,"title":"set \"ShowError\" true from controller after form submit?","user":{"login":"Luddinus","id":7340521,"avatar_url":"https://avatars.githubusercontent.com/u/7340521?v=3","gravatar_id":"","url":"https://api.github.com/users/Luddinus","html_url":"https://github.com/Luddinus","followers_url":"https://api.github.com/users/Luddinus/followers","following_url":"https://api.github.com/users/Luddinus/following{/other_user}","gists_url":"https://api.github.com/users/Luddinus/gists{/gist_id}","starred_url":"https://api.github.com/users/Luddinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luddinus/subscriptions","organizations_url":"https://api.github.com/users/Luddinus/orgs","repos_url":"https://api.github.com/users/Luddinus/repos","events_url":"https://api.github.com/users/Luddinus/events{/privacy}","received_events_url":"https://api.github.com/users/Luddinus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-18T22:11:25Z","updated_at":"2015-09-19T14:05:10Z","closed_at":null,"body":"Hi. I'm barely new using angular-formly, but I see great potential.\r\n\r\nI have an array of fields, and I submit the form.\r\n\r\nThe server response is something like this:\r\n\r\n```\r\n{\r\n   errors: {\r\n      title: 'the title is required!'\r\n   }\r\n}\r\n```\r\n\r\nI need an easy way to show the error in each field and set \"showError\" true in order to activate the 'has-error' class of the form-group (bootstrap).\r\n\r\nAny help appreciate, thx."},"comment":{"url":"https://api.github.com/repos/formly-js/angular-formly/issues/comments/141671300","html_url":"https://github.com/formly-js/angular-formly/issues/473#issuecomment-141671300","issue_url":"https://api.github.com/repos/formly-js/angular-formly/issues/473","id":141671300,"user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T14:05:10Z","updated_at":"2015-09-19T14:05:10Z","body":"Sorry, life's crazy busy for me right now (new baby in the house). I don't\nhave time to help you right now. Could you please follow the instructions\nhere to get help? http://help.angular-formly.com\n\nGood luck!\n\nOn Fri, Sep 18, 2015, 4:16 PM Luddinus <notifications@github.com> wrote:\n\n> I need something similar to this:\n> http://angular-formly.com/#/example/advanced/validation-on-form-submit\n>\n> Maybe I'm misunderstanding something but in my case it is the server who\n> returns the error messages.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/formly-js/angular-formly/issues/473#issuecomment-141581993>\n> .\n>\n"}}