{"action":"opened","issue":{"url":"https://api.github.com/repos/t4t5/sweetalert/issues/809","repository_url":"https://api.github.com/repos/t4t5/sweetalert","labels_url":"https://api.github.com/repos/t4t5/sweetalert/issues/809/labels{/name}","comments_url":"https://api.github.com/repos/t4t5/sweetalert/issues/809/comments","events_url":"https://api.github.com/repos/t4t5/sweetalert/issues/809/events","html_url":"https://github.com/t4t5/sweetalert/issues/809","id":302244971,"number":809,"title":"Attribute value for the input doesn't work correctly.","user":{"login":"wondertalik","id":1611064,"avatar_url":"https://avatars0.githubusercontent.com/u/1611064?v=4","gravatar_id":"","url":"https://api.github.com/users/wondertalik","html_url":"https://github.com/wondertalik","followers_url":"https://api.github.com/users/wondertalik/followers","following_url":"https://api.github.com/users/wondertalik/following{/other_user}","gists_url":"https://api.github.com/users/wondertalik/gists{/gist_id}","starred_url":"https://api.github.com/users/wondertalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wondertalik/subscriptions","organizations_url":"https://api.github.com/users/wondertalik/orgs","repos_url":"https://api.github.com/users/wondertalik/repos","events_url":"https://api.github.com/users/wondertalik/events{/privacy}","received_events_url":"https://api.github.com/users/wondertalik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T10:26:22Z","updated_at":"2018-03-05T10:26:22Z","closed_at":null,"author_association":"NONE","body":"```\r\n    swal({\r\n        title: \"Separar las adreces de correu electrònic amb coma\",\r\n        //dangerMode: true,\r\n        buttons: [\"Cancel · lar\", \"Sí\"],\r\n        content: {\r\n            element: \"input\",\r\n            attributes: {\r\n                placeholder: \"Correus\",\r\n                type: \"text\",\r\n                value: `${self.cliente.email}`\r\n            }\r\n        }\r\n\r\n    })\r\n        .then(function (value) {\r\n            console.error(value);\r\n        })\r\n```\r\n\r\n![screen shot 2018-03-05 at 11 22 11 am](https://user-images.githubusercontent.com/1611064/36970043-839c5a46-2067-11e8-810c-e33205403edd.png)\r\n\r\nHi, all. Awesome library. But have a problem with default value in the input.\r\nIf i press cancel - value is null, if si - value is empty. if i did some changes in the input get correct value.\r\n"}}
{"actor":{"display_login":"wondertalik"}}