{"action":"created","issue":{"url":"https://api.github.com/repos/wedeploy/metal-input-matrix/issues/5","repository_url":"https://api.github.com/repos/wedeploy/metal-input-matrix","labels_url":"https://api.github.com/repos/wedeploy/metal-input-matrix/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/wedeploy/metal-input-matrix/issues/5/comments","events_url":"https://api.github.com/repos/wedeploy/metal-input-matrix/issues/5/events","html_url":"https://github.com/wedeploy/metal-input-matrix/issues/5","id":185970850,"number":5,"title":"Add the ability of hiding values for certain inputs","user":{"login":"zenorocha","id":398893,"avatar_url":"https://avatars.githubusercontent.com/u/398893?v=3","gravatar_id":"","url":"https://api.github.com/users/zenorocha","html_url":"https://github.com/zenorocha","followers_url":"https://api.github.com/users/zenorocha/followers","following_url":"https://api.github.com/users/zenorocha/following{/other_user}","gists_url":"https://api.github.com/users/zenorocha/gists{/gist_id}","starred_url":"https://api.github.com/users/zenorocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenorocha/subscriptions","organizations_url":"https://api.github.com/users/zenorocha/orgs","repos_url":"https://api.github.com/users/zenorocha/repos","events_url":"https://api.github.com/users/zenorocha/events{/privacy}","received_events_url":"https://api.github.com/users/zenorocha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-28T16:53:40Z","updated_at":"2016-10-28T17:27:31Z","closed_at":null,"body":"Nowadays, the values of environment variables are available for anyone to see:\r\n\r\n<img width=\"861\" alt=\"screen shot 2016-10-28 at 9 48 02 am\" src=\"https://cloud.githubusercontent.com/assets/398893/19814585/a6b3cf6c-9cf3-11e6-930d-2d6c73903b52.png\">\r\n\r\nWe want to add a feature on the second input of each row to hide that value.\r\n\r\n@ygorcosta and @mairatma, can you help us with that?\r\n\r\n---\r\n\r\n**State 1:** `<input type=\"password\" readonly>`\r\n\r\n<img width=\"291\" alt=\"screen shot 2016-10-28 at 9 29 40 am\" src=\"https://cloud.githubusercontent.com/assets/398893/19814432/03493222-9cf3-11e6-9a2d-95ae2115785b.png\">\r\n\r\n**State 2:** Hover button\r\n\r\n<img width=\"294\" alt=\"screen shot 2016-10-28 at 9 29 46 am\" src=\"https://cloud.githubusercontent.com/assets/398893/19814433/034ccab8-9cf3-11e6-9b5d-7b565c0e0f1a.png\">\r\n\r\n**State 3:** `<input type=\"text\">`\r\n\r\n<img width=\"291\" alt=\"screen shot 2016-10-28 at 9 29 55 am\" src=\"https://cloud.githubusercontent.com/assets/398893/19814434/034d2b52-9cf3-11e6-8b70-4c73ea460db6.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/wedeploy/metal-input-matrix/issues/comments/256979609","html_url":"https://github.com/wedeploy/metal-input-matrix/issues/5#issuecomment-256979609","issue_url":"https://api.github.com/repos/wedeploy/metal-input-matrix/issues/5","id":256979609,"user":{"login":"mairatma","id":5216049,"avatar_url":"https://avatars.githubusercontent.com/u/5216049?v=3","gravatar_id":"","url":"https://api.github.com/users/mairatma","html_url":"https://github.com/mairatma","followers_url":"https://api.github.com/users/mairatma/followers","following_url":"https://api.github.com/users/mairatma/following{/other_user}","gists_url":"https://api.github.com/users/mairatma/gists{/gist_id}","starred_url":"https://api.github.com/users/mairatma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mairatma/subscriptions","organizations_url":"https://api.github.com/users/mairatma/orgs","repos_url":"https://api.github.com/users/mairatma/repos","events_url":"https://api.github.com/users/mairatma/events{/privacy}","received_events_url":"https://api.github.com/users/mairatma/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T17:27:31Z","updated_at":"2016-10-28T17:27:31Z","body":"Seems like this should be another option in `fieldsConfig`, with the type of the input. By default we'd use `text`, but when this is set to `password` we can also add the button to show/hide the content.\r\n\r\nThis `readonly` attribute seems like another separate option though, otherwise people won't be able to have an editable password field, right?"}}
{"actor":{"display_login":"mairatma"}}