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

options.push is not a function #104

Closed
ghost opened this issue May 5, 2019 · 1 comment
Closed

options.push is not a function #104

ghost opened this issue May 5, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented May 5, 2019

Bug Report or Feature Request (mark with an x)

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

OS and Version?

Win10

Versions

1.6.0
7.2.14

Repro steps

<input matInput matGoogleMapsAutocomplete matValidateAddress [types]="'geocode'"  [country]="['us','ca']" placeholder="Local Place" 
                class="localPlace" (onLocationSelected)="locationChanged($event)" data-lpignore="true">

The log given by the failure

<MyComponentName>.html:26 ERROR TypeError: options.push is not a function
    at MatGoogleMapsAutocompleteDirective.ngOnInit (google-maps-autocomplete.js:264)
    at checkAndUpdateDirectiveInline (core.js:28285)
    at checkAndUpdateNodeInline (core.js:29961)
    at checkAndUpdateNode (core.js:29900)
    at debugCheckAndUpdateNode (core.js:30868)
    at debugCheckDirectivesFn (core.js:30811)
    at Object.eval [as updateDirectives] (MissingPersonDetailComponent.html:26)
    at Object.debugUpdateDirectives [as updateDirectives] (core.js:30799)
    at checkAndUpdateView (core.js:29865)
    at callViewAction (core.js:30231)

Mention any other details that might be useful

Showed up only after update from 1.5.0 to 1.6.0.

@AnthonyNahas AnthonyNahas self-assigned this May 5, 2019
@AnthonyNahas AnthonyNahas added the bug Something isn't working label May 5, 2019
@AnthonyNahas
Copy link
Member

yes! I will fix it today!

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

1 participant