{"action":"created","issue":{"url":"https://api.github.com/repos/unmade/am-date-picker/issues/12","repository_url":"https://api.github.com/repos/unmade/am-date-picker","labels_url":"https://api.github.com/repos/unmade/am-date-picker/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/unmade/am-date-picker/issues/12/comments","events_url":"https://api.github.com/repos/unmade/am-date-picker/issues/12/events","html_url":"https://github.com/unmade/am-date-picker/issues/12","id":140774525,"number":12,"title":"Setting input icon to false leaves empty space","user":{"login":"henritoivar","id":5262399,"avatar_url":"https://avatars.githubusercontent.com/u/5262399?v=3","gravatar_id":"","url":"https://api.github.com/users/henritoivar","html_url":"https://github.com/henritoivar","followers_url":"https://api.github.com/users/henritoivar/followers","following_url":"https://api.github.com/users/henritoivar/following{/other_user}","gists_url":"https://api.github.com/users/henritoivar/gists{/gist_id}","starred_url":"https://api.github.com/users/henritoivar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henritoivar/subscriptions","organizations_url":"https://api.github.com/users/henritoivar/orgs","repos_url":"https://api.github.com/users/henritoivar/repos","events_url":"https://api.github.com/users/henritoivar/events{/privacy}","received_events_url":"https://api.github.com/users/henritoivar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T19:27:53Z","updated_at":"2016-03-20T17:03:07Z","closed_at":null,"body":"First of all thanks for creating an alternative to the current angular material datepicker. If a few things minor things would be different i would very happily use this as a replacement.\r\n\r\nThe issue:\r\nSetting am-show-input-icon to false hides the icon but leaves padding/empty space.\r\nThis looks off when you have other elements in your form that do not have an icon. Also the default behavior for angular material form elements is that removing an icon does not leave empty space.\r\n\r\nAlso it would be nice if the clicking on the icon would open the datepicker dialog."},"comment":{"url":"https://api.github.com/repos/unmade/am-date-picker/issues/comments/198963973","html_url":"https://github.com/unmade/am-date-picker/issues/12#issuecomment-198963973","issue_url":"https://api.github.com/repos/unmade/am-date-picker/issues/12","id":198963973,"user":{"login":"unmade","id":9870176,"avatar_url":"https://avatars.githubusercontent.com/u/9870176?v=3","gravatar_id":"","url":"https://api.github.com/users/unmade","html_url":"https://github.com/unmade","followers_url":"https://api.github.com/users/unmade/followers","following_url":"https://api.github.com/users/unmade/following{/other_user}","gists_url":"https://api.github.com/users/unmade/gists{/gist_id}","starred_url":"https://api.github.com/users/unmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unmade/subscriptions","organizations_url":"https://api.github.com/users/unmade/orgs","repos_url":"https://api.github.com/users/unmade/repos","events_url":"https://api.github.com/users/unmade/events{/privacy}","received_events_url":"https://api.github.com/users/unmade/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T17:03:07Z","updated_at":"2016-03-20T17:03:07Z","body":"Finally I have found time to solve this problem. Input icon doesn't leave empty space now."}}