{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/1841","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/1841/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/1841/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/1841/events","html_url":"https://github.com/erikras/redux-form/issues/1841","id":178531002,"number":1841,"title":"Validate fields with variables instead of static values","user":{"login":"llopez95","id":21169556,"avatar_url":"https://avatars.githubusercontent.com/u/21169556?v=3","gravatar_id":"","url":"https://api.github.com/users/llopez95","html_url":"https://github.com/llopez95","followers_url":"https://api.github.com/users/llopez95/followers","following_url":"https://api.github.com/users/llopez95/following{/other_user}","gists_url":"https://api.github.com/users/llopez95/gists{/gist_id}","starred_url":"https://api.github.com/users/llopez95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llopez95/subscriptions","organizations_url":"https://api.github.com/users/llopez95/orgs","repos_url":"https://api.github.com/users/llopez95/repos","events_url":"https://api.github.com/users/llopez95/events{/privacy}","received_events_url":"https://api.github.com/users/llopez95/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-22T06:18:19Z","updated_at":"2016-10-11T16:24:10Z","closed_at":"2016-09-25T20:46:34Z","body":"Hi,\r\n\r\nI'd like to know if there is any way to validate synchronously my datas using some variables state (or props component) ?\r\n\r\nWhat I have :\r\n`if (!item || item.get('duration') > 2) { ... }`\r\nWhat I'd like to do :\r\n`if (!item || item.get('duration') > maxDuration) { ... }`\r\n\r\nIs it possible? Should I perform an async validation?\r\n\r\nThanks in advance for your informations!"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/252968451","html_url":"https://github.com/erikras/redux-form/issues/1841#issuecomment-252968451","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/1841","id":252968451,"user":{"login":"timhwang21","id":5831434,"avatar_url":"https://avatars.githubusercontent.com/u/5831434?v=3","gravatar_id":"","url":"https://api.github.com/users/timhwang21","html_url":"https://github.com/timhwang21","followers_url":"https://api.github.com/users/timhwang21/followers","following_url":"https://api.github.com/users/timhwang21/following{/other_user}","gists_url":"https://api.github.com/users/timhwang21/gists{/gist_id}","starred_url":"https://api.github.com/users/timhwang21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timhwang21/subscriptions","organizations_url":"https://api.github.com/users/timhwang21/orgs","repos_url":"https://api.github.com/users/timhwang21/repos","events_url":"https://api.github.com/users/timhwang21/events{/privacy}","received_events_url":"https://api.github.com/users/timhwang21/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T16:24:10Z","updated_at":"2016-10-11T16:24:10Z","body":"I'm not sure I see what you mean, if you post your form code I may be able to help. "}}
{"actor":{"display_login":"timhwang21"}}