angularjs - Broken 2 Way Data Binding -


going through forms angular2 tutorial. , part code isn't doing tutorial explains should happen. before reach conclusion angular2 beta has bug maybe try out.

it's problem around 2 way data binding of "powers dropdown" user input change isn't being reflected in model. 2 way binding occurs with:

<select class="form-control" required [(ngmodel)]="model.power">

edit:

see full code here

when run code keep eye on "{"id":18,"name":"dr iq","power":"really smart","alterego":"chuck overstreet"} " output. notice changes edit 2 txt inputs changes dropdown not reflected in output.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -