-
Notifications
You must be signed in to change notification settings - Fork 1
select2
Sébastien LUCAS edited this page May 7, 2014
·
5 revisions
http://ivaynberg.github.io/select2 // Select 2 jquery plugin
https://github.com/angular-ui/ui-select2 // Angular wrapper
-
multiple: true / Allow more than one tags
when set the selected items appears as tags with a checkbox
if set to false, it appear like a select list -
simple_tags: true / List of string, instead of select2 object
a select 2 object is in the forme {id:22, term:"bateau"}
a list of tags is in the form ["bateau", "loisir", "vacances"]
If set to true, when a term is selected, it disapear from the selectables terms (a term can be selected twice)