How to pass default value in md-autocomplete?
Image 1 : HTML code Image 2 : JS code Image 3 : Output
As you can see, I am not getting any default country as output. Is there any way to do that?
I used timeout to do this.
$timeout(function() {
$scope.local = {selectedItem : 1}
}, 2000);
Este artigo é coletado da Internet.
Se houver alguma infração, entre em [email protected] Delete.
deixe-me dizer algumas palavras