google-maps-autocomplete
google-maps-autocomplete copied to clipboard
matGoogleMapsAutoComplete directive triggers events that are not configurable
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
OS and Version?
Mac OS Sierra
Versions
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 7.3.9
Node: 10.15.3
OS: darwin x64
Angular: 7.2.15
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.13.9
@angular-devkit/build-angular 0.13.9
@angular-devkit/build-optimizer 0.13.9
@angular-devkit/build-webpack 0.13.9
@angular-devkit/core 7.3.9
@angular-devkit/schematics 7.3.9
@angular/cdk 7.3.7
@angular/cli 7.3.9
@angular/flex-layout 7.0.0-beta.24
@angular/material 7.3.7
@ngtools/webpack 7.3.9
@schematics/angular 7.3.9
@schematics/update 0.13.9
rxjs 6.3.3
typescript 3.2.4
webpack 4.29.0
Repro steps
- Put the
matGoogleMapsAutocomplete
directive on an input within a form element - Bind an
ngSubmit
event to the form and console.log when it's triggered - Start typing an address into the field with the autocomplete directive,
DownArrow
to an option, and pressEnter
. - The
ngSubmit
event gets called.
Desired functionality
Allow more control over events triggered by the Google Maps feature so we don't have errant events triggered without knowing about them.
may you provide more information! Can you please post a snippet, how are u using the library ?