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

Allow accessing remote data when suggestion data is nested.. #66

Closed
adardesign opened this issue Feb 28, 2013 · 1 comment
Closed

Allow accessing remote data when suggestion data is nested.. #66

adardesign opened this issue Feb 28, 2013 · 1 comment

Comments

@adardesign
Copy link
Contributor

We have data coming back from the server that looks as follows...


{
    "status": "success",
    "keyword": "s",
    "data": {
        "suggestions": [
           {
             value: 'unitedAirlines',
             tokens: ['united', 'airlines'],
             name: 'Jake Harding',
        },
           {
             value: 'deltaAirlines',
             tokens: ['delta', 'airlines'],
             name: 'Jake Harding',
        }
    }
}

The question is how to I tell typeahead.js to get the suggestions data.

@jharding
Copy link
Contributor

This is a duplicate of #8. Support for this will be available in v0.9.

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

No branches or pull requests

2 participants