{"action":"opened","issue":{"url":"https://api.github.com/repos/aurelia/dialog/issues/64","labels_url":"https://api.github.com/repos/aurelia/dialog/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/dialog/issues/64/comments","events_url":"https://api.github.com/repos/aurelia/dialog/issues/64/events","html_url":"https://github.com/aurelia/dialog/issues/64","id":117003821,"number":64,"title":"Bindable bug","user":{"login":"JeroenVinke","id":2189477,"avatar_url":"https://avatars.githubusercontent.com/u/2189477?v=3","gravatar_id":"","url":"https://api.github.com/users/JeroenVinke","html_url":"https://github.com/JeroenVinke","followers_url":"https://api.github.com/users/JeroenVinke/followers","following_url":"https://api.github.com/users/JeroenVinke/following{/other_user}","gists_url":"https://api.github.com/users/JeroenVinke/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenVinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenVinke/subscriptions","organizations_url":"https://api.github.com/users/JeroenVinke/orgs","repos_url":"https://api.github.com/users/JeroenVinke/repos","events_url":"https://api.github.com/users/JeroenVinke/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenVinke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-15T17:00:21Z","updated_at":"2015-11-15T17:00:21Z","closed_at":null,"body":"I believe there is a bug in the dialog plugin where `@bindable answer` does not trigger `answerChanged()` when directly in the dialog. @bindables work fine for custom elements inside the modal though\r\n\r\nI have reproduced this with the latest skeleton [here](https://github.com/JeroenVinke/dialog-bug). If you remove [this line](https://github.com/JeroenVinke/dialog-bug/blob/master/src/prompt.js#L16) you even get an error if you open the dialog:\r\n\r\n``` \r\nUnhandled promise rejection TypeError: Cannot read property 'getValue' of undefined\r\n    at Prompt.descriptor.get [as answer] (http://192.168.178.23:9001/jspm_packages/github/aurelia/templating@0.17.4/aurelia-templating.js:2933:49)\r\n    at AccessScope.evaluate (http://192.168.178.23:9001/jspm_packages/github/aurelia/binding@0.11.3/aurelia-binding.js:1145:21)\r\n    at Binding.bind (http://192.168.178.23:9001/jspm_packages/github/aurelia/binding@0.11.3/aurelia-binding.js:4305:36)\r\n    at View.bind (http://192.168.178.23:9001/jspm_packages/github/aurelia/templating@0.17.4/aurelia-templating.js:833:21)\r\n    at View.bind (http://192.168.178.23:9001/jspm_packages/github/aurelia/templating@0.17.4/aurelia-templating.js:848:21)\r\n    at View.bind (http://192.168.178.23:9001/jspm_packages/github/aurelia/templating@0.17.4/aurelia-templating.js:848:21)\r\n    at Controller.bind (http://192.168.178.23:9001/jspm_packages/github/aurelia/templating@0.17.4/aurelia-templating.js:2747:19)\r\n    at Controller.automate (http://192.168.178.23:9001/jspm_packages/github/aurelia/templating@0.17.4/aurelia-templating.js:2701:12)\r\n    at http://192.168.178.23:9001/jspm_packages/github/aurelia/dialog@0.4.4/dialog-service.js:63:28\r\n    at h (http://192.168.178.23:9001/jspm_packages/npm/core-js@1.2.6/client/shim.min.js:1773:66)\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2189477/11169811/58fc8ac2-8bc2-11e5-9dd6-c6801faf8ebd.png)"}}