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

Tags Input integration with objects as tags #182

Open
planta opened this issue Jan 8, 2016 · 2 comments
Open

Tags Input integration with objects as tags #182

planta opened this issue Jan 8, 2016 · 2 comments

Comments

@planta
Copy link

planta commented Jan 8, 2016

I am having trouble integrating this typeahead with tags input but with objects as tags. It works if I use only typeahead on input field, but if I integrate it with tags input then it doesn't work and I don't even get any errors which is really frustrating. Here's my code:

var places = [{name: "New York"}, {name: "Los Angeles"}];
//this works
$('input').typeahead({
    source: places
});

//this doesn't
$('input').tagsinput({
    freeInput: false,
    confirmKeys: [44],
    typeahead: {
        source: places
    }
});

Am I doing something wrong or is this a bug?

@JarJak
Copy link

JarJak commented Jan 13, 2016

some problem here

@merolhack
Copy link

Read all comments in this issue:
#40

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

3 participants