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

how to use typeAhead? #83

Closed
seagod opened this issue Jul 19, 2013 · 2 comments
Closed

how to use typeAhead? #83

seagod opened this issue Jul 19, 2013 · 2 comments

Comments

@seagod
Copy link

seagod commented Jul 19, 2013

i use the

{{view App.Bootstrap.TypeAhead valueBinding="assistantForInputQ" class="input-medium" url="userinfomanage_getUserName.action" idProperty="name"}}

in page...

and return the result as [{ name: 'Terry'}, { name: 'Mark'}, { name: 'Jacob'}]...

the error like this..

Uncaught TypeError: Cannot use 'in' operator to search for '53' in [{ name: 'Terry'}, { name: 'Mark'}, { name: 'Jacob'}]

even i return [ 'Terry', 'Mark', 'Jacob'] the error is ever exist .

so pls tell me return what result for typeahead....pls.

@dmathieu
Copy link
Contributor

There is no TypeAhead in this library ... Are you sure you're not using a component internal to your app ?

@seagod
Copy link
Author

seagod commented Jul 23, 2013

oh...

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

No branches or pull requests

2 participants