Tagsinput bootstrap does not work

Asked

Viewed 105 times

1

I’m using the bootstrap tags input together with Bootstrap 3 and I’m not getting the typehead Code:

$('#tags').tagsinput();
   $('#tags').tagsinput({
       typeahead: {
       source: $.get('tags.php')
    }
});

the return of.php tags is

["Uruguaiana","Porto Alegre","Sao Paulo","Rio de Janeiro","Salvador"]

Can anyone tell me what the problem is?

  • I was able to make it work by including bootstrap-tagsinput.min.js.map in the directory, but the css got weird

  • Did you find a solution? Poste as an answer to help other people.

  • 1

    Actually I think I did, I’ll look here, but I stopped using

  • Then post the solution to help other users :D

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.