Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible Documentation Issue for onAddressSelected #40

Closed
nathansullivan1 opened this issue Nov 30, 2018 · 2 comments
Closed

Possible Documentation Issue for onAddressSelected #40

nathansullivan1 opened this issue Nov 30, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@nathansullivan1
Copy link

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

OSX Mojave, Ubuntu 18.10

Versions

Angular CLI: 6.1.4
Node: 8.12.0
OS: darwin x64
Angular: 6.1.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package Version

@angular-devkit/architect 0.7.4
@angular-devkit/build-angular 0.7.4
@angular-devkit/build-optimizer 0.7.4
@angular-devkit/build-webpack 0.7.4
@angular-devkit/core 0.7.4
@angular-devkit/schematics 0.7.4
@angular/cdk 6.4.6
@angular/cli 6.1.4
@angular/material 6.4.6
@ngtools/webpack 6.1.4
@schematics/angular 0.7.4
@schematics/update 0.7.4
rxjs 6.2.2
typescript 2.9.2
webpack 4.17.1

Repro steps

Implement as specified in the #as-components section.
Utilize the "onAddressSelected" event listener.

The log given by the failure

N/A

Desired functionality

"onAddressSelected" event does not fire; this appears to be a documentation error, as "onAutocompleteSelected" as documented in the earlier section of the documentation works fine here as well, but is not listed as an option.

Mention any other details that might be useful

@AnthonyNahas AnthonyNahas added the bug Something isn't working label Nov 30, 2018
@AnthonyNahas
Copy link
Member

I will take a look! Are you using the prebuilt component or the matGoogleMapsAutocomplete directive ?

@AnthonyNahas
Copy link
Member

bug found in the documentation! please use onAutocompleteSelected instead of onAddressSelected ! thanks for reporting 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants