in md-autocomplete directive if we have a click functionality , on pressing
space bar the click functionality gets called .
ex : <md-autocomplete md-search-text="searchText" ng-click="clearText()">
<md-item-template></md-item-template>
</md-autocomplete>
scope.clearText() = function() {
scope.searchText = "";
}
while typing in autocomplete search bar , press space bar and function
clearText() gets called .
Is this a bug ?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.