{"action":"created","issue":{"url":"https://api.github.com/repos/kekeh/mydatepicker/issues/535","repository_url":"https://api.github.com/repos/kekeh/mydatepicker","labels_url":"https://api.github.com/repos/kekeh/mydatepicker/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/kekeh/mydatepicker/issues/535/comments","events_url":"https://api.github.com/repos/kekeh/mydatepicker/issues/535/events","html_url":"https://github.com/kekeh/mydatepicker/issues/535","id":322785125,"number":535,"title":"No way to segregate error while providing disableSince option","user":{"login":"saudar82","id":4786123,"avatar_url":"https://avatars0.githubusercontent.com/u/4786123?v=4","gravatar_id":"","url":"https://api.github.com/users/saudar82","html_url":"https://github.com/saudar82","followers_url":"https://api.github.com/users/saudar82/followers","following_url":"https://api.github.com/users/saudar82/following{/other_user}","gists_url":"https://api.github.com/users/saudar82/gists{/gist_id}","starred_url":"https://api.github.com/users/saudar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudar82/subscriptions","organizations_url":"https://api.github.com/users/saudar82/orgs","repos_url":"https://api.github.com/users/saudar82/repos","events_url":"https://api.github.com/users/saudar82/events{/privacy}","received_events_url":"https://api.github.com/users/saudar82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-14T11:56:28Z","updated_at":"2018-05-15T06:54:09Z","closed_at":null,"author_association":"NONE","body":"I am trying to disable future dates; while providing disableSince, we are not able to select future dates, but user is able to type in future dates from the input field, but since the valid property is false, I am not able to display the specific error message: 'Future dates are not allowed' in stead the error message for Validators.required gets triggered."},"comment":{"url":"https://api.github.com/repos/kekeh/mydatepicker/issues/comments/389062529","html_url":"https://github.com/kekeh/mydatepicker/issues/535#issuecomment-389062529","issue_url":"https://api.github.com/repos/kekeh/mydatepicker/issues/535","id":389062529,"user":{"login":"saudar82","id":4786123,"avatar_url":"https://avatars0.githubusercontent.com/u/4786123?v=4","gravatar_id":"","url":"https://api.github.com/users/saudar82","html_url":"https://github.com/saudar82","followers_url":"https://api.github.com/users/saudar82/followers","following_url":"https://api.github.com/users/saudar82/following{/other_user}","gists_url":"https://api.github.com/users/saudar82/gists{/gist_id}","starred_url":"https://api.github.com/users/saudar82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudar82/subscriptions","organizations_url":"https://api.github.com/users/saudar82/orgs","repos_url":"https://api.github.com/users/saudar82/repos","events_url":"https://api.github.com/users/saudar82/events{/privacy}","received_events_url":"https://api.github.com/users/saudar82/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T06:54:09Z","updated_at":"2018-05-15T06:54:09Z","author_association":"NONE","body":"The requirement is to achieve all these scecarios:\r\n1. Disable future dates from the date picker.\r\n2. Show 'Future date not allowed' message when user types in a future date.\r\n3. Show 'Date field is required' message when user types in an invalid date or left the field as empty.\r\n\r\nAny possibility to achieve this with this component? As soon as I type in a future date, the value object in FormControl is getting nullified.\r\n\r\n"}}
{"actor":{"display_login":"saudar82"}}