{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/templating-resources/issues/137","labels_url":"https://api.github.com/repos/aurelia/templating-resources/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/templating-resources/issues/137/comments","events_url":"https://api.github.com/repos/aurelia/templating-resources/issues/137/events","html_url":"https://github.com/aurelia/templating-resources/issues/137","id":115486823,"number":137,"title":"Add binding behavior to control two-way binding value update event","user":{"login":"jdanyow","id":1306747,"avatar_url":"https://avatars.githubusercontent.com/u/1306747?v=3","gravatar_id":"","url":"https://api.github.com/users/jdanyow","html_url":"https://github.com/jdanyow","followers_url":"https://api.github.com/users/jdanyow/followers","following_url":"https://api.github.com/users/jdanyow/following{/other_user}","gists_url":"https://api.github.com/users/jdanyow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdanyow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdanyow/subscriptions","organizations_url":"https://api.github.com/users/jdanyow/orgs","repos_url":"https://api.github.com/users/jdanyow/repos","events_url":"https://api.github.com/users/jdanyow/events{/privacy}","received_events_url":"https://api.github.com/users/jdanyow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/templating-resources/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"jdanyow","id":1306747,"avatar_url":"https://avatars.githubusercontent.com/u/1306747?v=3","gravatar_id":"","url":"https://api.github.com/users/jdanyow","html_url":"https://github.com/jdanyow","followers_url":"https://api.github.com/users/jdanyow/followers","following_url":"https://api.github.com/users/jdanyow/following{/other_user}","gists_url":"https://api.github.com/users/jdanyow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdanyow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdanyow/subscriptions","organizations_url":"https://api.github.com/users/jdanyow/orgs","repos_url":"https://api.github.com/users/jdanyow/repos","events_url":"https://api.github.com/users/jdanyow/events{/privacy}","received_events_url":"https://api.github.com/users/jdanyow/received_events","type":"User","site_admin":false},"milestone":null,"comments":20,"created_at":"2015-11-06T11:22:04Z","updated_at":"2015-11-11T17:25:01Z","closed_at":"2015-11-08T03:45:21Z","body":"https://gitter.im/Aurelia/Discuss?at=563c58e5c3b1996c03a23f0e\r\n\r\nEquivalent of KO valueUpdate\r\n\r\ncc @EisenbergEffect / @kdeberni "},"comment":{"url":"https://api.github.com/repos/aurelia/templating-resources/issues/comments/155852772","html_url":"https://github.com/aurelia/templating-resources/issues/137#issuecomment-155852772","issue_url":"https://api.github.com/repos/aurelia/templating-resources/issues/137","id":155852772,"user":{"login":"jdanyow","id":1306747,"avatar_url":"https://avatars.githubusercontent.com/u/1306747?v=3","gravatar_id":"","url":"https://api.github.com/users/jdanyow","html_url":"https://github.com/jdanyow","followers_url":"https://api.github.com/users/jdanyow/followers","following_url":"https://api.github.com/users/jdanyow/following{/other_user}","gists_url":"https://api.github.com/users/jdanyow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdanyow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdanyow/subscriptions","organizations_url":"https://api.github.com/users/jdanyow/orgs","repos_url":"https://api.github.com/users/jdanyow/repos","events_url":"https://api.github.com/users/jdanyow/events{/privacy}","received_events_url":"https://api.github.com/users/jdanyow/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T17:25:01Z","updated_at":"2015-11-11T17:25:01Z","body":">is there a possiblity to automagically reset the textbox to the \"old\" model value when canceling the update?\r\n\r\n\r\n```js\r\nlet modelValue = binding.sourceExpression.evaluate(binding.source, binding.lookupFunctions);\r\nbinding.updateTarget(modelValue);\r\n```\r\nThere's a plunker at the bottom of [this post](http://www.danyow.net/aurelia-binding-behaviors/) that you can adapt"}}