{"action":"created","issue":{"url":"https://api.github.com/repos/powmedia/backbone-forms/issues/483","labels_url":"https://api.github.com/repos/powmedia/backbone-forms/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/powmedia/backbone-forms/issues/483/comments","events_url":"https://api.github.com/repos/powmedia/backbone-forms/issues/483/events","html_url":"https://github.com/powmedia/backbone-forms/issues/483","id":126253150,"number":483,"title":"List validation","user":{"login":"MeterSoft","id":2736506,"avatar_url":"https://avatars.githubusercontent.com/u/2736506?v=3","gravatar_id":"","url":"https://api.github.com/users/MeterSoft","html_url":"https://github.com/MeterSoft","followers_url":"https://api.github.com/users/MeterSoft/followers","following_url":"https://api.github.com/users/MeterSoft/following{/other_user}","gists_url":"https://api.github.com/users/MeterSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/MeterSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeterSoft/subscriptions","organizations_url":"https://api.github.com/users/MeterSoft/orgs","repos_url":"https://api.github.com/users/MeterSoft/repos","events_url":"https://api.github.com/users/MeterSoft/events{/privacy}","received_events_url":"https://api.github.com/users/MeterSoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-01-12T19:14:48Z","updated_at":"2016-01-24T11:38:12Z","closed_at":null,"body":"How i can run validation by nested model schema?\r\n\r\nschema: {\r\n            firstName: { type: 'Text', validators: [{ type: 'required', message: 'Can not be blank' }] },\r\n            phoneNumbers:    { \r\n                type: 'List', itemType: 'NestedModel', model: infocus.PhoneNumber, title: ''\r\n            }\r\n        }\r\n\r\nschema: {\r\n            type:      { type: 'Select', options: ['SIP', 'Phone', 'H123'] },\r\n            number:    { type: 'Text', validators: [{ type: 'required', message: 'Can not be blank' }, { type: 'email', message: 'Invalid number' }] }\r\n        }\r\n\r\nbut when i run form.commit() it validate  only main model\r\n"},"comment":{"url":"https://api.github.com/repos/powmedia/backbone-forms/issues/comments/174286974","html_url":"https://github.com/powmedia/backbone-forms/issues/483#issuecomment-174286974","issue_url":"https://api.github.com/repos/powmedia/backbone-forms/issues/483","id":174286974,"user":{"login":"MeterSoft","id":2736506,"avatar_url":"https://avatars.githubusercontent.com/u/2736506?v=3","gravatar_id":"","url":"https://api.github.com/users/MeterSoft","html_url":"https://github.com/MeterSoft","followers_url":"https://api.github.com/users/MeterSoft/followers","following_url":"https://api.github.com/users/MeterSoft/following{/other_user}","gists_url":"https://api.github.com/users/MeterSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/MeterSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeterSoft/subscriptions","organizations_url":"https://api.github.com/users/MeterSoft/orgs","repos_url":"https://api.github.com/users/MeterSoft/repos","events_url":"https://api.github.com/users/MeterSoft/events{/privacy}","received_events_url":"https://api.github.com/users/MeterSoft/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T11:38:12Z","updated_at":"2016-01-24T11:38:12Z","body":"yes, that works"}}