{"action":"created","issue":{"url":"https://api.github.com/repos/eight04/angular-datetime/issues/7","labels_url":"https://api.github.com/repos/eight04/angular-datetime/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/eight04/angular-datetime/issues/7/comments","events_url":"https://api.github.com/repos/eight04/angular-datetime/issues/7/events","html_url":"https://github.com/eight04/angular-datetime/issues/7","id":109666457,"number":7,"title":"Min/max validation doesn't update model value","user":{"login":"eight04","id":1324510,"avatar_url":"https://avatars.githubusercontent.com/u/1324510?v=3","gravatar_id":"","url":"https://api.github.com/users/eight04","html_url":"https://github.com/eight04","followers_url":"https://api.github.com/users/eight04/followers","following_url":"https://api.github.com/users/eight04/following{/other_user}","gists_url":"https://api.github.com/users/eight04/gists{/gist_id}","starred_url":"https://api.github.com/users/eight04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eight04/subscriptions","organizations_url":"https://api.github.com/users/eight04/orgs","repos_url":"https://api.github.com/users/eight04/repos","events_url":"https://api.github.com/users/eight04/events{/privacy}","received_events_url":"https://api.github.com/users/eight04/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-04T06:38:02Z","updated_at":"2015-10-04T06:41:30Z","closed_at":null,"body":"We often put validation in parser and formatter function. If validation failed, return undefined. This action let validation control model value directly. If we have to process validation outside parser/formatter function, then we cannot control model value anymore, which is the problem.\r\n\r\nCurrently I removed `return undefined` from min/max validator, which is breaking previous feature."},"comment":{"url":"https://api.github.com/repos/eight04/angular-datetime/issues/comments/145322698","html_url":"https://github.com/eight04/angular-datetime/issues/7#issuecomment-145322698","issue_url":"https://api.github.com/repos/eight04/angular-datetime/issues/7","id":145322698,"user":{"login":"eight04","id":1324510,"avatar_url":"https://avatars.githubusercontent.com/u/1324510?v=3","gravatar_id":"","url":"https://api.github.com/users/eight04","html_url":"https://github.com/eight04","followers_url":"https://api.github.com/users/eight04/followers","following_url":"https://api.github.com/users/eight04/following{/other_user}","gists_url":"https://api.github.com/users/eight04/gists{/gist_id}","starred_url":"https://api.github.com/users/eight04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eight04/subscriptions","organizations_url":"https://api.github.com/users/eight04/orgs","repos_url":"https://api.github.com/users/eight04/repos","events_url":"https://api.github.com/users/eight04/events{/privacy}","received_events_url":"https://api.github.com/users/eight04/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T06:41:30Z","updated_at":"2015-10-04T06:41:30Z","body":"It's more reasonable that only parsing error will set model value to undefined."}}