wdmg/bootstrap-tagsinput-plugin

Tags input for Bootstrap 3

1.0.3 2019-12-05 00:18 UTC

This package is auto-updated.

Last update: 2024-10-27 10:43:39 UTC


README

Tags input for Bootstrap 3

Installation

$ npm install bootstrap-tagsinput-plugin
$ bower install bootstrap-tagsinput-plugin
$ yarn add bootstrap-tagsinput-plugin
$ composer require bootstrap-tagsinput-plugin

Usage example

For example use the input-group:

<div class="form-group">
    <label class="control-label" for="tags">Tags:</label>
    <input id="tags" name="tags" class="form-control" placeholder="Type your tags here..." value="one, two, three" />
</div>

... and init from script:

<script type="text/javascript">
    $(document).ready(function () {
        var tags = $('input#tags').tagsinput({
            delimiter: ','
        });
    });
</script>

Options

Templates

Status and version

  • v.1.0.3 - Added README.md
  • v.1.0.2 - Some bugfixies. Backward compatibility $.ajax for older jQuery version.
  • v.1.0.1 - Added autocomplete.
  • v.1.0.0 - Added base plugin and stylesheets, example.