Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

AngularJS typeahead with integers #1781

Closed
anvarik opened this issue Feb 11, 2014 · 1 comment
Closed

AngularJS typeahead with integers #1781

anvarik opened this issue Feb 11, 2014 · 1 comment

Comments

@anvarik
Copy link

anvarik commented Feb 11, 2014

I also posted on SO: http://stackoverflow.com/questions/21696847/angularjs-typeahead-with-integers

In the provided typeahead example,$scope.states is filled with a string array:

$scope.states = ['Alabama', 'Alaska', 'Arizona', ... ];

And it looks like this:

enter image description here


However, if I change the plunker to an array of numbers, as in this plunker; although you can move your cursor, and it returns you the values starting with the number you have typed; you can't see the content on the dropdown and it looks weird:

enter image description here

Is there a way to make typeahead work with integers?

@anvarik anvarik closed this as completed Feb 11, 2014
@anvarik
Copy link
Author

anvarik commented Feb 11, 2014

#1777

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants