angularjs-google-maps
angularjs-google-maps copied to clipboard
Autocomplete, angular 1.6.5, unhandled rejection: ZERO_RESULTS
Hello, with angular 1.6.5, the directive places-auto-complete doesn't handle ZERO_RESULTS error.
Way to reproduce:
- Angular 1.6.5 + ngmap 1.18.4
- Type something incorrect in your input, ex: "dsndjkqsbdkb"
Result:
- We don't go into on-place-changed callback
- Console: Possibly unhandled rejection: ZERO_RESULTS undefined
@pixedd how did you solve that issue?
me too. I also met the same case
I don't know if this is correct method.. But I used $qProvider in app.js like this
.config([ '$qProvider', function( $qProvider) {
$qProvider.errorOnUnhandledRejections(false);
}])