angularjs-google-maps icon indicating copy to clipboard operation
angularjs-google-maps copied to clipboard

Autocomplete, angular 1.6.5, unhandled rejection: ZERO_RESULTS

Open pixedd opened this issue 7 years ago • 3 comments

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 avatar Aug 15 '17 12:08 pixedd

@pixedd how did you solve that issue?

VaishaliRavindran avatar Mar 02 '18 12:03 VaishaliRavindran

me too. I also met the same case

vietnux avatar Apr 08 '18 10:04 vietnux

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);
}])

VaishaliRavindran avatar Apr 09 '18 08:04 VaishaliRavindran