{"action":"created","issue":{"url":"https://api.github.com/repos/zefoy/ngx-color-picker/issues/134","repository_url":"https://api.github.com/repos/zefoy/ngx-color-picker","labels_url":"https://api.github.com/repos/zefoy/ngx-color-picker/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/zefoy/ngx-color-picker/issues/134/comments","events_url":"https://api.github.com/repos/zefoy/ngx-color-picker/issues/134/events","html_url":"https://github.com/zefoy/ngx-color-picker/issues/134","id":350831149,"node_id":"MDU6SXNzdWUzNTA4MzExNDk=","number":134,"title":"Setting the HEX value resets the alpha channel","user":{"login":"fabgallo","id":2903427,"node_id":"MDQ6VXNlcjI5MDM0Mjc=","avatar_url":"https://avatars3.githubusercontent.com/u/2903427?v=4","gravatar_id":"","url":"https://api.github.com/users/fabgallo","html_url":"https://github.com/fabgallo","followers_url":"https://api.github.com/users/fabgallo/followers","following_url":"https://api.github.com/users/fabgallo/following{/other_user}","gists_url":"https://api.github.com/users/fabgallo/gists{/gist_id}","starred_url":"https://api.github.com/users/fabgallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabgallo/subscriptions","organizations_url":"https://api.github.com/users/fabgallo/orgs","repos_url":"https://api.github.com/users/fabgallo/repos","events_url":"https://api.github.com/users/fabgallo/events{/privacy}","received_events_url":"https://api.github.com/users/fabgallo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-08-15T14:29:45Z","updated_at":"2018-08-29T07:17:49Z","closed_at":null,"author_association":"NONE","body":"When typing/pasting an HEX value in the field when an alpha value was already present, the alpha value gets reset to 100%.\r\n\r\nI am able to reproduce this in the [StackBlitz demo](https://stackblitz.com/github/zefoy/ngx-color-picker/tree/master/example?file=src%2Fapp%2Fapp.component.html) by replacing the color-picker at line 10 with\r\n```\r\n<input [style.background]=\"color1\" [(colorPicker)]=\"color1\"\r\n       [cpAlphaChannel]=\"'enabled'\" [cpOutputFormat]=\"'rgba'\" />\r\n```\r\n\r\nCan you please let me know if this is an intended behaviour (after all, I am putting a #RRGGBB value without alpha) and if there are any plans of fixing it/supporting maintaining the alpha?"},"comment":{"url":"https://api.github.com/repos/zefoy/ngx-color-picker/issues/comments/416850832","html_url":"https://github.com/zefoy/ngx-color-picker/issues/134#issuecomment-416850832","issue_url":"https://api.github.com/repos/zefoy/ngx-color-picker/issues/134","id":416850832,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjg1MDgzMg==","user":{"login":"sconix","id":921515,"node_id":"MDQ6VXNlcjkyMTUxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/921515?v=4","gravatar_id":"","url":"https://api.github.com/users/sconix","html_url":"https://github.com/sconix","followers_url":"https://api.github.com/users/sconix/followers","following_url":"https://api.github.com/users/sconix/following{/other_user}","gists_url":"https://api.github.com/users/sconix/gists{/gist_id}","starred_url":"https://api.github.com/users/sconix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sconix/subscriptions","organizations_url":"https://api.github.com/users/sconix/orgs","repos_url":"https://api.github.com/users/sconix/repos","events_url":"https://api.github.com/users/sconix/events{/privacy}","received_events_url":"https://api.github.com/users/sconix/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T07:17:49Z","updated_at":"2018-08-29T07:17:49Z","author_association":"CONTRIBUTOR","body":"You can define the output format to be always rgba and not allow hex there. So you don't need to use the value user inputs."}}
{"actor":{"display_login":"sconix"}}