do you have -data-role="tagsinput" ONLY on the one input that you want this to work on?
You're also assigning it to ALL inputs here (from your stackoverflow post)
$('input').tagsinput({
typeaheadjs: {
name: 'citynames',
displayKey: 'name',
valueKey: 'name',
source: citynames.ttAdapter()
}
});
So I don't think you need this:
$(function() {
$("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput();
});
The 2nd code is applying to to all inputs that have -data-role="tagsinput", and the first code is applying it to ALL input fields. Target just the field you need.