如何在md-autocomplete上使用ng-blur?

tha*_*ebi 6 angularjs angular-material md-autocomplete

我想在md-autocomplete上使用模糊事件,但是ng-blur和md-blur都不起作用.

$scope.unFocus = function () {
            alert('Hello!');
        }
Run Code Online (Sandbox Code Playgroud)
<md-autocomplete md-no-cache="false" md-selected-item="selectedItem" md-search-text-change="searchLocation(searchText)"
                    md-search-text="searchText" md-items="item in searchResult" md-item-text="item.address"
                    md-selected-item-change="changeLocation(item)" md-min-length="0" md-floating-label="Your Address" ng-blur="unFocus()">
            <md-item-template>
                <span md-highlight-text="searchText" md-highlight-flags="^i">{{item.address}}</span>
            </md-item-template>
            <md-not-found>
                <i>Not Found {{searchText}}</i>
            </md-not-found>
</md-autocomplete>
Run Code Online (Sandbox Code Playgroud)

小智 3

ngBlurngFocus将从 Angular Material 1.1.1版本开始工作