Igor Vaynberg
|
54033cdb04
monitors source element for change events and syncs the selection. opts.initSelection function has to be specified by the user for this to work because ids have to be mapped back to objects. select2 provides this function automatically for select elements and tags helper.
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
e78daff629
Merge pull request #22 from drosen0/patch-1
|
%!s(int64=13) %!d(string=hai) anos |
David Rosen
|
12a3e68256
Update select2.js
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
6183a490a3
minor formatting cleanup
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
607d3a3a6e
Merge pull request #21 from justindujardin/patch-1
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
0645a09e8a
tags in the exports.
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
5094df886c
Remove duplicate window exports
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
a16190c822
only call initSelection() when there is actual input. avoids making users implement empty input check in their initSelection()s
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
19810405ce
automatically initialize selection in tagging mode. closes #19
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
b9c79344cd
hide selected choices from the results by default. issue #1
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
34a7f83f7b
removed misplaced logging
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
d2ec53e33c
initial tagging support via opts.tags
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
0ca86701ad
generalized selection initialization behind opts.initSelection
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
d43b8da796
Merge pull request #15 from sjaq/patch-1
|
%!s(int64=13) %!d(string=hai) anos |
Jean Jacques Warmerdam
|
dca2130d2c
Don't remove border, make it transparent to prevent jumping of the page.
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
bf25e5e7e4
export classes, issue #13
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
b0b70243b6
correct namespace. issue #13
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
c913b7e3f9
added reusable helpers into the global window.Select2 namespace. closes #13
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
6fee67bcff
Merge pull request #5 from justindujardin/jdd-sizable
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
c5d6cb1327
Deal with non-existent style attributes, and returning calculated pixel widths as a fallback.
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
fa41027264
Set min-height to 26px for proper input sizing in Opera.
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
dd0d80532c
Fix spinner.gif input jumpiness.
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
40843b1b98
better handling of non-numeric ids
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
26982e1952
change event, closes #11
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
6bef0b5bf6
fix placeholder styling broken in a previous code cleanup. closes #12
|
%!s(int64=13) %!d(string=hai) anos |
Igor Vaynberg
|
538c6d1584
camel cased a var and reformatted after jquery 1.4.2 compat change
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
b162567c22
jQuery 1.4.2 compatibility : - use attr() instead of prop() - use .bind() and .delegate() instead of .on() - pass ajax success handler as an argument, instead of chaining call to .success()
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
576607c46f
Undo rebase indentation changes.
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
de51a5dbdd
Hide search.parent() container when minimumResultsForSearch is not met on a single select.
|
%!s(int64=13) %!d(string=hai) anos |
Justin DuJardin
|
a28ea4fb98
Cleanup sizable implementation
|
%!s(int64=13) %!d(string=hai) anos |