{"action":"created","issue":{"url":"https://api.github.com/repos/primefaces/primeng/issues/2471","repository_url":"https://api.github.com/repos/primefaces/primeng","labels_url":"https://api.github.com/repos/primefaces/primeng/issues/2471/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primeng/issues/2471/comments","events_url":"https://api.github.com/repos/primefaces/primeng/issues/2471/events","html_url":"https://github.com/primefaces/primeng/issues/2471","id":220327552,"number":2471,"title":"Calendar should allow valid blank/null value","user":{"login":"loftyduck","id":6843000,"avatar_url":"https://avatars3.githubusercontent.com/u/6843000?v=4","gravatar_id":"","url":"https://api.github.com/users/loftyduck","html_url":"https://github.com/loftyduck","followers_url":"https://api.github.com/users/loftyduck/followers","following_url":"https://api.github.com/users/loftyduck/following{/other_user}","gists_url":"https://api.github.com/users/loftyduck/gists{/gist_id}","starred_url":"https://api.github.com/users/loftyduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loftyduck/subscriptions","organizations_url":"https://api.github.com/users/loftyduck/orgs","repos_url":"https://api.github.com/users/loftyduck/repos","events_url":"https://api.github.com/users/loftyduck/events{/privacy}","received_events_url":"https://api.github.com/users/loftyduck/received_events","type":"User","site_admin":false},"labels":[{"id":312160659,"url":"https://api.github.com/repos/primefaces/primeng/labels/defect","name":"defect","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":{"login":"cagataycivici","id":686247,"avatar_url":"https://avatars0.githubusercontent.com/u/686247?v=4","gravatar_id":"","url":"https://api.github.com/users/cagataycivici","html_url":"https://github.com/cagataycivici","followers_url":"https://api.github.com/users/cagataycivici/followers","following_url":"https://api.github.com/users/cagataycivici/following{/other_user}","gists_url":"https://api.github.com/users/cagataycivici/gists{/gist_id}","starred_url":"https://api.github.com/users/cagataycivici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cagataycivici/subscriptions","organizations_url":"https://api.github.com/users/cagataycivici/orgs","repos_url":"https://api.github.com/users/cagataycivici/repos","events_url":"https://api.github.com/users/cagataycivici/events{/privacy}","received_events_url":"https://api.github.com/users/cagataycivici/received_events","type":"User","site_admin":false},"assignees":[{"login":"cagataycivici","id":686247,"avatar_url":"https://avatars0.githubusercontent.com/u/686247?v=4","gravatar_id":"","url":"https://api.github.com/users/cagataycivici","html_url":"https://github.com/cagataycivici","followers_url":"https://api.github.com/users/cagataycivici/followers","following_url":"https://api.github.com/users/cagataycivici/following{/other_user}","gists_url":"https://api.github.com/users/cagataycivici/gists{/gist_id}","starred_url":"https://api.github.com/users/cagataycivici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cagataycivici/subscriptions","organizations_url":"https://api.github.com/users/cagataycivici/orgs","repos_url":"https://api.github.com/users/cagataycivici/repos","events_url":"https://api.github.com/users/cagataycivici/events{/privacy}","received_events_url":"https://api.github.com/users/cagataycivici/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/primefaces/primeng/milestones/68","html_url":"https://github.com/primefaces/primeng/milestone/68","labels_url":"https://api.github.com/repos/primefaces/primeng/milestones/68/labels","id":2588920,"number":68,"title":"4.1.0-RC3","description":"","creator":{"login":"cagataycivici","id":686247,"avatar_url":"https://avatars0.githubusercontent.com/u/686247?v=4","gravatar_id":"","url":"https://api.github.com/users/cagataycivici","html_url":"https://github.com/cagataycivici","followers_url":"https://api.github.com/users/cagataycivici/followers","following_url":"https://api.github.com/users/cagataycivici/following{/other_user}","gists_url":"https://api.github.com/users/cagataycivici/gists{/gist_id}","starred_url":"https://api.github.com/users/cagataycivici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cagataycivici/subscriptions","organizations_url":"https://api.github.com/users/cagataycivici/orgs","repos_url":"https://api.github.com/users/cagataycivici/repos","events_url":"https://api.github.com/users/cagataycivici/events{/privacy}","received_events_url":"https://api.github.com/users/cagataycivici/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":80,"state":"closed","created_at":"2017-06-17T19:53:58Z","updated_at":"2017-07-03T06:02:31Z","due_on":"2017-06-30T07:00:00Z","closed_at":"2017-07-03T06:02:31Z"},"comments":4,"created_at":"2017-04-07T21:00:46Z","updated_at":"2017-08-10T05:42:12Z","closed_at":"2017-06-28T14:06:35Z","body":"**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => Search github for a similar issue or PR before submitting\r\n```\r\n\r\n**Plunkr Case (Bug Reports)**\r\nhttp://plnkr.co/edit/sDos4A?p=preview\r\n\r\n**Current behavior**\r\nA date control will remain invalid with errors: {invalidDate: true} when the input value is changed from a value to null.\r\n\r\nThis may have been introduced with the fix for issue #1676\r\n\r\n**Expected behavior**\r\nBy default, a date control should have no validation errors when its value is null.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nSee plunkr above.  Steps:\r\n1. Enter a value into the Date/Time (calendar) field\r\n2. Delete the value from the field\r\n3. The formControl still has errors: invalidDate: true\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\nIf a null value is always invalid then it seems to be impossible to have a calendar control that is optional on a given FormGroup.\r\n\r\n**Please tell us about your environment:**\r\nMacOS Sierra 10.12.3\r\n\r\n* **Angular version:** 2.2.1\r\n\r\n* **PrimeNG version:** 2.0.0 to 2.0.5\r\n\r\n* **Browser:** Chrome Version 57.0.2987.133 (64-bit)\r\n \r\n* **Language:** TypeScript 2.0.6\r\n\r\n* **Node (for AoT issues):** n/a\r\n"},"comment":{"url":"https://api.github.com/repos/primefaces/primeng/issues/comments/321456228","html_url":"https://github.com/primefaces/primeng/issues/2471#issuecomment-321456228","issue_url":"https://api.github.com/repos/primefaces/primeng/issues/2471","id":321456228,"user":{"login":"nagpvn2","id":30586009,"avatar_url":"https://avatars2.githubusercontent.com/u/30586009?v=4","gravatar_id":"","url":"https://api.github.com/users/nagpvn2","html_url":"https://github.com/nagpvn2","followers_url":"https://api.github.com/users/nagpvn2/followers","following_url":"https://api.github.com/users/nagpvn2/following{/other_user}","gists_url":"https://api.github.com/users/nagpvn2/gists{/gist_id}","starred_url":"https://api.github.com/users/nagpvn2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagpvn2/subscriptions","organizations_url":"https://api.github.com/users/nagpvn2/orgs","repos_url":"https://api.github.com/users/nagpvn2/repos","events_url":"https://api.github.com/users/nagpvn2/events{/privacy}","received_events_url":"https://api.github.com/users/nagpvn2/received_events","type":"User","site_admin":false},"created_at":"2017-08-10T05:42:12Z","updated_at":"2017-08-10T05:42:12Z","body":"How to allow p-calendar to display only years. I didn't found any property for this. could you please help me in this."}}
{"actor":{"display_login":"nagpvn2"}}