-
Notifications
You must be signed in to change notification settings - Fork 517
cannot pass parameter in on-place-changed event #862
Comments
it seems working for me. documentation might be incorrect. Please follow this example, https://ngmap.github.io/#/!places-auto-complete.html
|
i cant pass a paramter to it seems the
is there any solution for this..? |
This is the same as, https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete You need to get the data from your scope, not from your parameter. |
Is it possible that this can be changed? Are you open to PRs? My controllers are written with classes, so there's no decent way gain access to HTML:
Controller:
The only thing I can seemingly do is define a variable outside of my class, and assign it in |
im using place-auto-complete in an array as follows,
$scope.placeChanged = function (data) { console.log(data) // seems undefined here };
is there any other way to solve this issue..!!
The text was updated successfully, but these errors were encountered: