javascript

  • shows that the keyWord value is replaced by the initialisation value when i i hit the load button, very weird behaviour – Philippe Simo 20 hours ago
  • Because of inheritance, simple values will not do two way binding.
  • I tried your code, but I could not reproduce your problem.
  • I tried printing your URL after the button click as in the above code and the behaviour is as expected.

And I am wondering why when I hit the load button, the keyWord value is always replaced by “” before the request is sent, which causes the fetching of all the first size results in the remote database! Nevetheless, this code is working on a native html,css and angularjs code without ionic.

@shindesan2012: Answer:AngularJs data binding not working with ionic @ionic @angular

You need to be using “dot notation”. Because of inheritance, simple values will not do two way binding.

javascript

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.