Hi
The example on the documentation site (
https://material.angular.io/components/component/autocomplete) makes use of a FormControl reference to observe a change in the autocomplete's input. I am very much new to angular2 and while I understand the principles behind Observables, I have not been able to figure out how to code the same demo using template-based forms (where I presumably have no access to the FormControl in the Component).
I am trying to create a simple city lookup field that uses rest to retrieve the data. I am able to do this in ngOnInit at the moment, but would love to implement server side filtering when the user types into the text field. Can someone assist with a small example please?
I realise the autocomplete is still in "flux" but hopefully the response here will serve to assist others as well who plan to make use of the component for the future.
Kind regards
Johan