$http issue - Values can't be returned before a promise is resolved in md-autocomplete Angular Material

前端 未结 4 1974
别那么骄傲
别那么骄傲 2021-01-03 06:06

I\'m using Angular Material md-autocomplete in my project. In that I\'m getting the suggest listing from the Service Host via ajax call using $http

4条回答
  •  醉酒成梦
    2021-01-03 06:45

    @KevinB https://stackoverflow.com/users/400654/kevin-b - Gives the Idea how to implement. I really thank him... Once again thanks alot Kevin...

    I got the Exact solution, what I need.

    The Source Code is

    
    
    
    
    
    
    
    
    
    
    
    
    

    Country to Select:

    {{item.country}} No Person matching "{{searchText}}" were found.

    I Briefly explained about md-autocomplete in the following blog - http://www.increvcorp.com/usage-of-md-autocomplete-in-angular-material/

提交回复
热议问题