Skip to content

sattes-faction/bootstrap-tagsinput

 
 

Repository files navigation

Bootstrap Tags Input Build Status

Bootstrap Tags Input is a jQuery plugin providing a Twitter Bootstrap user interface for managing tags.

Usage

Examples can be found here.

Features

  • Objects as tags
  • True multi value
  • Typeahead
  • AngularJS directive included
  • Designed for Bootstrap 2.3.2 and 3

Objects as tags

Not just support for using strings! This means you can use different values for a tag's label and value. Each tag also holds a reference to the object by which it was created, so by calling tagsinput('items') an array of the original items is returned.

True multi value support

Other implementations just concatenate the values to a comma separated string. This results in val() returning just this string, and when submitting the form, only one big, concatenated value is sent in the request.

Bootstrap Tags Input provides true multivalue support. Just use a <select multiple /> as your input element, and val() will return an array of the tag values. When submitting the form, an array of values will be sent with the request.

Typeahead support

Integrates with Twitter Bootstraps's typeahead.

Bootstrap 3 dropped the Typeahead. At the moment typeahead is not working when using this plugin with Bootstrap 3. Working on it...

Angular JS directive

Include bootstrap-tagsinput-angular.js and register the 'bootstrap-tagsinput' in your Angular JS application to use the bootstrap-tagsinput directive. Look at the examples page how to use the directive.

License

This project is licensed under MIT.

About

jQuery tags input plugin based on Twitter Bootstrap.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 55.6%
  • JavaScript 44.4%