I got the same problem. May the author forgot to test after some revision.
Open bootstrap-tagsinput.js, and at the last line you can see the following code;
$(function() {
$("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput();
});
As you can see, in this js code, tagsinput()
function is called.
Hence, including your call to tagsinput()
in your code, there are 2 calls to tagsinput()
.
As a result, at line 357 where registering tagsinput()
function as a jquery plugin,
the initializing is failed.
To solve this, comment upper code.
(But maybe you can use some functionalties, but not importan
Anyway, you need to include bootstrap-tagsinput.css
too.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…