{"action":"closed","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/868","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/868/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/868/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/868/events","html_url":"https://github.com/erikras/redux-form/issues/868","id":151238158,"number":868,"title":"Validate that a nested key has children","user":{"login":"rvirani1","id":5215816,"avatar_url":"https://avatars.githubusercontent.com/u/5215816?v=3","gravatar_id":"","url":"https://api.github.com/users/rvirani1","html_url":"https://github.com/rvirani1","followers_url":"https://api.github.com/users/rvirani1/followers","following_url":"https://api.github.com/users/rvirani1/following{/other_user}","gists_url":"https://api.github.com/users/rvirani1/gists{/gist_id}","starred_url":"https://api.github.com/users/rvirani1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvirani1/subscriptions","organizations_url":"https://api.github.com/users/rvirani1/orgs","repos_url":"https://api.github.com/users/rvirani1/repos","events_url":"https://api.github.com/users/rvirani1/events{/privacy}","received_events_url":"https://api.github.com/users/rvirani1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-26T21:01:49Z","updated_at":"2016-04-27T13:01:05Z","closed_at":"2016-04-27T13:01:05Z","body":"If I have a number of children elements nested as items, how do I write a validation that at least one child exists?\r\n\r\nFor example, if my fields look like the following:\r\n```\r\nexport const fields = [\r\n   'date',\r\n  'items[].itemType',\r\n  'items[].size',\r\n  'items[].flightsOfStairs',\r\n  'place',\r\n  'startTime'\r\n];\r\n```\r\n\r\nHow do I validate that there is at least one item?\r\n"}}