Comments (3)
did you ever figure this out? I am currently in a similar situation trying to implement the simplest of trials
from ngautocomplete.
I did solve it.
my ng-autocomplete directive is used in this way:
input type="text" id="Autocomplete" class="form-control" ng-autocomplete options="options" ng-model="home.city" details="details" style="color: black;"
in my controller:
$scope.options = {types: '(cities)'};
$scope.details = "";
I don't remember exactly why. Tell me if it didn't work and i'll dive more deep into it.
from ngautocomplete.
I solved my problem as well.. I simply wanted the address given by google
to become a string value for location.
in my scope i just took the input for a new location and gave it a value
equal to the 'result1" from the simple demo, before I added the property
value.. I think just a JS hack but thanks for getting back. I do see it
getting quite tricky when grabbing all the values this directive gives.
And thanks for being more responsive than the guy who made this that has
apparently dropped off the face off the planet, in terms of providing
answers to issues
On Sat, May 30, 2015 at 3:18 PM, sternshachar [email protected]
wrote:
I did solve it.
my ng-autocomplete directive is used in this way:input type="text" id="Autocomplete" class="form-control" ng-autocomplete
options="options" ng-model="home.city" details="details" style="color:
black;"in my controller:
$scope.options = {types: '(cities)'};
$scope.details = "";I don't remember exactly why. Tell me if it didn't work and i'll dive more
deep into it.—
Reply to this email directly or view it on GitHub
#56 (comment)
.
from ngautocomplete.
Related Issues (20)
- Garbage elements
- display only countries. HOT 2
- Facing problem while testing it.
- Plunkr broken
- TypeError: Cannot read property 'geometry' of undefined HOT 1
- Call function in controller with details when select an autocomplete option HOT 1
- ngAutocompelte with Bootstrap Modal HOT 1
- Cant evaluate dynamic option value HOT 1
- add current location to ngAutocomplete
- default value not prefilling in input field when using ng-autocomplete HOT 2
- desperately need help
- showing a spinner when using ng-autocomplete
- What about the access token? HOT 1
- Force selection
- Problem with iPhone HOT 1
- angular.js:13920 TypeError: Cannot read property 'Autocomplete' of undefined HOT 1
- Location and radius support?
- Is this project still allive? HOT 4
- Select not working on iOS devices. HOT 3
- typeahead??
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 ngautocomplete.