I have a route that has a form with some search fields (e.g. code, name, and so on) and a table that updates results while the user types something on these fields.
I have made all form fields bound to it's respective query parameter on controller. So, when ember propagates the fields values to the URI, the parameters the route reloads the model making the table to be updated. So far so good.
But, there is a side effect on this design, when the user types Ember reloads the entire route's DOM tree making the user to loose the focus on the field.
So, I would like to know how I could make only the table with the results to be updated while the user continually types whatever he needs on the form fields.
They are all on the same route's HBS with some components.
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire