Closed stephanebruckert closed 7 years ago
Hi @stephanebruckert, assuming that you are using a similar piece of code to the one in the demo page, you just need to add this other piece to your controller:
$scope.$watch('countriesAPI', function (api) {
api.focus();
});
Hope this could help you!
Hello,
I would like to do a
focus()
onapi="countriesAPI"
on page initialization. How would I do that?Thanks!