JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://timschlechter.github.io/bootstrap-tagsinput/examples/bootstrap-2.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="http://timschlechter.github.io/bootstrap-tagsinput/dist/bootstrap-tagsinput.css">
<script src="http://timschlechter.github.io/bootstrap-tagsinput/examples/bootstrap-2.3.2/js/bootstrap.min.js"></script>
<script src="http://timschlechter.github.io/bootstrap-tagsinput/dist/bootstrap-tagsinput.js"></script>
<script src="http://timschlechter.github.io/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.js"></script>
<script src="http://timschlechter.github.io/bootstrap-tagsinput/examples/bower_components/angular/angular.min.js"></script>
<input type="text" value="Amsterdam,Washington" data-role="tagsinput" />
JavaScript
$(document).ready(function () {
$('input').tagsinput({
typeahead: {
source: function (query) {
return $.getJSON('https://raw2.github.com/TimSchlechter/bootstrap-tagsinput/master/examples/assets/citynames.json');
}
}
})
});