Comments (8)
Did you include css to the head in index.html?
from ion-google-place.
Ok now I am getting the overlay which looks great, but I am unable to click on any of the items as I type. It is dynamically updating but not allowing me to tap on an item to close the modal.
from ion-google-place.
Digging into the ion-google-place
code a bit more it seems like the selectLocation
method on the popup scope is not being called.
I do have my tag in a modal. I'll see if that is somehow related... perhaps a z-index issue?
from ion-google-place.
Yes that seems to be the problem. When I launch the ion-google-place popup from a non-ion-modal window it works perfectly.
Any thoughts on how to address this?
from ion-google-place.
Ah found the fix in another issue thread #4
Is there a reason this fix, adding the modal
class to the ion-google-place-container
, hasn't been merged?
from ion-google-place.
Create a quick pull request for this if you'd like to merge it.
from ion-google-place.
I struggled with getting the data out from the directive in the controller. My solution was to use a object in the ng-model
<ion-google-place placeholder="Search City, Country" ng-model="search_data.location" > </ion-google-place>
in the controller
$scope.search_data = {
location: ''
};
$scope.$watch('search_data.location', function(newVal, oldVal) {
console.log('watch', newVal, oldVal)
if (newVal.hasOwnProperty('formatted_address')) {
$scope.search_city();
}
});
from ion-google-place.
this worked for me. I used $scope.apply to assign the output to a variable.
from ion-google-place.
Related Issues (20)
- Help adding the dependency in the app HOT 1
- i dont see it working
- Is it possible to remove default input box?
- How do you restrict the API access?
- use autocomplete service instead of geocoder service HOT 4
- Installation not working HOT 8
- CSS problems HOT 1
- Ionic 2 Version
- Bower package is outdated HOT 6
- Using with multiple input boxes HOT 2
- 1 Chome-11 Kamifukubara, Yonago-shi, Tottori-ken 683-0004, Japan
- Get value when currentLocation="true"
- Get parts of a address
- Scrolling open ion-google-place HOT 1
- Set value HOT 1
- setting filters by business type
- Include component into ionic 2 typescript HOT 2
- Does it work with ionic 1.3.2 on Android? HOT 6
- Ng-model not working with maxlength defined
- Use ion-popover-view
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion-google-place.