bootstrap-tagsinput

jQuery tags input plugin based on Twitter Bootstrap.

Github星跟蹤圖

Bootstrap Tags Input Build Status

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

Current stable version: v0.8.0

Usage

Examples can be found here.

Features

  • Objects as tags
  • True multi value
  • Typeahead
  • 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' 2.3.2 typeahead, or use custom typeahead when using Bootstrap 3.

Development

Install dependencies:

Test:

Build:

Current Library Versions:

  • Bootstrap: 3.3.5
  • jQuery: 2.1.4
  • Typeahead: 0.11.1

Libraries for testing go in the /lib directory.

History

License

This project is licensed under MIT.

主要指標

概覽
名稱與所有者bootstrap-tagsinput/bootstrap-tagsinput
主編程語言JavaScript
編程語言JavaScript (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2022-04-05 10:49:09
推送於2024-01-29 13:55:01
最后一次提交
發布數31
最新版本名稱0.8.0 (發布於 )
第一版名稱0.1.0 (發布於 )
用户参与
星數61
關注者數1
派生數43
提交數39
已啟用問題?
問題數23
打開的問題數22
拉請求數1
打開的拉請求數6
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?