Having some trouble with the autocompletion feature of md-contact-chips
. I want to capture the $query
as soon as someone starts typing.
HTML
<md-contact-chips
ng-model="members"
md-contacts="querySearch($query)"
md-contact-name="fullname"
md-contact-email="email"
md-contact-image="image"
filter-selected="true"
md-require-match
placeholder="Add members">
</md-contact-chips>
JS
$scope.querySearch = function($query) {
console.log($query);
};
Encountering an issue when trying to search for more members (already stored in my $scope.members
). The error message in JS reads:
TypeError: $scope.textChange is not a function
My setup includes Angular 1.4.1 and Material 0.10.0