jQuery Tagsinput v0.8.0
The tags closely resemble the labels and follow the same line of color. To use them, you need to use the default class
.tagsinput
, and add a variation at line 11 of
bootstrap-tagsinput.js
and change the class
badge-danger
with the color that you want:
badge-info | badge-success | badge-warning | badge-primary
For more information please check Full Github Documentation.
<input type="text" value="Amsterdam,Washington,Sydney,Beijing" class="tagsinput form-control" data-role="tagsinput" data-color="danger">