Re: [AngularJS] angular2 - two way data binding - how to

2015-03-09 Thread Martin Kuhn
Hi Sander, great to hear. Thanks for information. Regards Am Montag, 9. März 2015 15:40:31 UTC+1 schrieb Sander Elias: Hi Martin, As far as I found out, on the moment, yes, you have to do it on your own. However, this is going to change as soon as the new formCollection thingie will

Re: [AngularJS] angular2 - two way data binding - how to

2015-03-09 Thread AJ Mercer
I am messing around with this right now too :-) Try value={{name}} input id=my-name autofocus #newname (keyup)=changeName($event, newname) Just found out camelCase for variable names is a bad idea #newName did not make it to my function. (maybe gets

[AngularJS] angular2 - two way data binding - how to

2015-03-09 Thread Martin Kuhn
I'm curious about two way databinding in Angular2. I played around with the quickstart project and would like to know how to get a value from an UI-element back to the model: In the source example I used the change event and a manually update of the model. But this may not be the right way,