Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/select2/select2

Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
https://github.com/select2/select2

allow a custom function for computing the width. fixes #252

b672d760acec620681d95377262b93e52d96bae1 authored over 12 years ago by Igor Vaynberg <[email protected]>
focus select2 on a click to a related label. fixes #198

3fc1bc6f3547bd8fee1e9cb2597bc556f1934e47 authored over 12 years ago by Igor Vaynberg <[email protected]>
added close event. fixes #246

37ff4bbf36c0e1d70b50be863305e2e23e167163 authored over 12 years ago by Igor Vaynberg <[email protected]>
another tweak for positioning of dropdown and scrollbars. fixes #228 again

33fd9dc810da26fbfaf0f5fddb692e330c195c75 authored over 12 years ago by Igor Vaynberg <[email protected]>
fix bug with determing the width. fixes #242

0d5be21e0983fe28ff96acfdc605eeb635a0328e authored over 12 years ago by Igor Vaynberg <[email protected]>
fix multiselects in IEs. fixes #241

a718dc45a058da1f3e2df335055a5cb451d4146f authored over 12 years ago by Igor Vaynberg <[email protected]>
fix bug where space was ignored in single selects. fixes #233

1771c3ba6140fbed6862fdc50a1982d9b9510910 authored over 12 years ago by Igor Vaynberg <[email protected]>
tweak dropdown position. fixes #228

1fc09825ed12788fe662377b72bdcd975f63729d authored over 12 years ago by Igor Vaynberg <[email protected]>
more flexible width strategies. fixes #237

96c01665351a7d676b0528c508dc57e082fe6613 authored over 12 years ago by Igor Vaynberg <[email protected]>
container receives width style when hidden input has one or via opt

Signed-off-by: Igor Vaynberg <[email protected]>

17ffe5772e17eb615d4eae8e6a159a20f2ab3332 authored over 12 years ago by Kevin Miller <[email protected]>
fixes IE8 bug where the dropdown wouldnt open. it would actually open and close immediately because the body would get a focusin event even after the focus was set on the search field by select2. worked fine in IE9

6c330eb53b695d8cf9f472d4e1df8f20357648db authored over 12 years ago by Igor Vaynberg <[email protected]>
mark elements as selected when closeOnSelect is false so they cannot be selected again. fixes #229

633a6dc9012523831e232c1369fade8d1dcdd057 authored over 12 years ago by Igor Vaynberg <[email protected]>
make sure data() returns null instead of undefined when unset. this will prevent chaining which may seem weid. fixes #230

ad9fac45aee04b3b91b186a539ceedb784ab242b authored over 12 years ago by Igor Vaynberg <[email protected]>
position the dropdown after hiding selected elements so when above it doesnt float away from the control

de0d11a82b73d0da77e5d160deae399d78eccc7c authored over 12 years ago by Igor Vaynberg <[email protected]>
fixed above/below dropdown opening bug

39aa17a7906d2b26a2a17ef040550902242b0a87 authored over 12 years ago by Igor Vaynberg <[email protected]>
make the option element available to the matcher function when attached to select. can be used to match on option attributes as well as option text. fixes #227

3a830a2b81755bd0ba754defa4899cf164f13fc7 authored over 12 years ago by Igor Vaynberg <[email protected]>
Merge pull request #226 from fizker/drop-text-color

Added text-color that contrasts with the selected background-color

7fd94ce62376faba152d0a4f21677db20694c4d4 authored over 12 years ago by Igor Vaynberg <[email protected]>
Added text-color that contrasts with the selected background-color

63fc044915029e766200f60eb400ddab176c0bac authored over 12 years ago by bho <[email protected]>
Merge pull request #223 from malekpour/master

fix dropdown reopen on enter

b731545eea17b71c1bcb3fb67d00c8408225b185 authored over 12 years ago by Igor Vaynberg <[email protected]>
optimize global mousemove listener

33e8e20159fae5011ad72a983b567d637fb5a237 authored over 12 years ago by Igor Vaynberg <[email protected]>
give the sizer a higher offset just in case its on a highres screen

0aea42fe42b457ec8a8d7ac86cc779030001c721 authored over 12 years ago by Igor Vaynberg <[email protected]>
delay finding the body until it is needed and cache it.

7947803df44d965c636e432c7b4274dafdab27dc authored over 12 years ago by Igor Vaynberg <[email protected]>
fix updateResults prevention if dropdown is closed

01faae3ff7936e9b720f5af9c5a03facd8a20fe6 authored over 12 years ago by Ali Malrkpour <[email protected]>
fixed dropdown alignment in firefox. still need to test IE. #214

3ed2cc091ac473c8610c41e5b9941939007f1e02 authored over 12 years ago by Igor Vaynberg <[email protected]>
added a little animation for removed multiselect choices

69758f0b7180b322a89a0ef938cdaca36e457e5c authored over 12 years ago by Igor Vaynberg <[email protected]>
expose plugin defaults to make configuration easier. fixes #199

0c4888c6ef10cadc25d87750aee6e912f1d389b4 authored over 12 years ago by Igor Vaynberg <[email protected]>
hide things off screen at -10000 px instead of -1000. fixes #220

5d2bcd4007cd6391c569884f98971a6db0b31e5d authored over 12 years ago by Igor Vaynberg <[email protected]>
rename tagSeparator to separator. #191

c17336d1ac26a12083cfcbefdf213f25ec8c1dde authored over 12 years ago by Igor Vaynberg <[email protected]>
Add the ability to specify custom tags separator.

Signed-off-by: Igor Vaynberg <[email protected]>

5aae33d789f7113c098f4b03f24f44fc183754e0 authored over 12 years ago by Grzegorz Kaczan <[email protected]>
clean up some comments

4489ab7769315057e470f6e0b0ad9af27f98d55b authored over 12 years ago by Igor Vaynberg <[email protected]>
Merge pull request #219 from malekpour/master

body element caching bug fix

2befc347c502d1a4833e205a278031fd7289194e authored over 12 years ago by Igor Vaynberg <[email protected]>
fix body element caching for non attached elements

a3383141d5d420b83df5461542d7554d11dd07a7 authored over 12 years ago by Ali Malrkpour <[email protected]>
more flexible format helpers. fixes #217

d6f506e16bbec859bb9fc39e1467112ed422ec0c authored over 12 years ago by Igor Vaynberg <[email protected]>
reworked how dropdown is managed in singleselect so the search field has focus even when the dropdown is not opened and can capture te first keypress. fixes #196

1605a631e5e35e920fecc57ff24c84056be705fc authored over 12 years ago by Igor Vaynberg <[email protected]>
improve keyup-change detection

06ec20dec68feaf8f48108f5cd75378ecf4639b9 authored over 12 years ago by Igor Vaynberg <[email protected]>
formatSelection() can now return html string, dom, or jquery object in both multi and single select. #188

6f973d6e406a27ed9bd62d5968113bca56e1e519 authored over 12 years ago by Igor Vaynberg <[email protected]>
-add possibility to return a jQuery object with formatSelection -the close event of the selection is now delegated to the class 'select2-search-choice-close' and not only the a tag

Signed-off-by: Igor Vaynberg <[email protected]>

1a4b52387172595ae51f239fb24853513f1261e9 authored over 12 years ago by Mitko Tschimev <[email protected]>
fixes #194

5a73385474a6fe9878a15ee3e4a91ca3b39c0c24 authored over 12 years ago by Igor Vaynberg <[email protected]>
possible fix for #205

5859dc8149446e74796699f4b7befd3f71713fe7 authored over 12 years ago by Igor Vaynberg <[email protected]>
make keyup-change event work with repeated backspace/delete keys. fixes #211. closes #212

4d79adf6ac3271c79e7e05aaf2e554ccc878285b authored over 12 years ago by Igor Vaynberg <[email protected]>
dropdown can now open above or below control depending on available screens pace. fixes #120. based on #197

482cc409ea27fc3cdf1028e9202c1ca7ada01e35 authored over 12 years ago by Igor Vaynberg <[email protected]>
take the outerwidth of the element when sizing so we include padding and border. fixes #213

2c0344a520d477d2693d6bed222e4ee6a1da800d authored over 12 years ago by Igor Vaynberg <[email protected]>
reposition the dropdown whenever results are changed. this is in preparation for open-on-top issue #197

0538bdcfa6d4aecf21318f6ef07d2116df07a307 authored over 12 years ago by Igor Vaynberg <[email protected]>
boost z-index so select2 shows over dialogs. fixes #200

12d2604ff2ce92d133cf5346b386f34bb41e2590 authored over 12 years ago by Igor Vaynberg <[email protected]>
better sizing of the input field in multiselect. fixes #203

48fe58dee339b22974a29f4c51917e383791de6f authored over 12 years ago by Igor Vaynberg <[email protected]>
fix input sizing when placeholder is set. fixes #192

a4d496281a77aecd11b42c087838e494dd4d5522 authored over 12 years ago by Igor Vaynberg <[email protected]>
improve percent width detection. issue #115

77de06ecf3642cd59d101f48a1e5ed811a064f2b authored over 12 years ago by Igor Vaynberg <[email protected]>
clear the ' ' placeholder on open

9c864f1da01bef52c32f9d3c3a8cdd0cc2dadd35 authored over 12 years ago by Igor Vaynberg <[email protected]>
added open event

6a5719db8083b3552caf6f60ddf2e96d972f516e authored over 12 years ago by Igor Vaynberg <[email protected]>
Merge pull request #186 from nutshellcrm/focus-syntax-error-1.6

Fixes syntax error in jQuery < 1.6 (":focus" selector is unavailable)

f272ac9f806a3356c3a73f436de37d13c3f6103c authored over 12 years ago by Igor Vaynberg <[email protected]>
jquery < 1.6 compatibility fix (:focus is unavailable)

ec08be78e4816e1fe215c8bb55fbcbff9bfd2425 authored over 12 years ago by Andy Fowler <[email protected]>
bugfix moveHighlight: disabled list elements were highlighted now they are ignored

Signed-off-by: Igor Vaynberg <[email protected]>

ac8a4db76f49f6730b7eb55278f6b8153d2ded84 authored over 12 years ago by Mitko Tschimev <[email protected]>
Merge pull request #183 from ryfeng/master

Default to width: auto instead of width: 0px when styling select2-container

cb72651787c975f785551e73b027f350acce75b9 authored over 12 years ago by Igor Vaynberg <[email protected]>
Default to auto width if container has 0 width (hidden)

9baada2a5c5c7856f031a2f0df8fd3c5bf3c65b0 authored over 12 years ago by Royce Feng <[email protected]>
improve whitespace detection

9c4a4d1b8a1bfd703c3dcfb003116bf2d27bfcec authored over 12 years ago by Igor Vaynberg <[email protected]>
fix firefox caret bug. closes #153

83c11b27dfedd455084f8ca2ccbe54894970190a authored over 12 years ago by Igor Vaynberg <[email protected]>
clear search field when data() is used. #178

4ddcc52635975abb7bdf7cf4855833eaedcaff1f authored over 12 years ago by Igor Vaynberg <[email protected]>
highlighting and keyboard navigation improvements to result list that has optgroups

95a144d85e5bb99b5d9d7a83ae6b549379d9bcf9 authored over 12 years ago by Igor Vaynberg <[email protected]>
fix page 2+ rendering. fixes #175

adc15e368294f39fc587a616cbded2c0a84d4754 authored over 12 years ago by Igor Vaynberg <[email protected]>
add reference to original option element in the data when attached to select. fixes #171

6b736669d28bef28040e0424811e1f556206e5cc authored over 12 years ago by Igor Vaynberg <[email protected]>
Merge branch 'master' of github.com:ivaynberg/select2

504bca4b432a5b996770f6f9cacff5c948badee4 authored over 12 years ago by Igor Vaynberg <[email protected]>
add data method that works with objects instead of ids like val. fixes #166

e12fbdec7ef07a14c7e2fa5daa0e0f840dd821c2 authored over 12 years ago by Igor Vaynberg <[email protected]>
Merge pull request #173 from nutshellcrm/38b9d060b116fc4957110f25b03b8437be981136

Fix placeholders in jQuery 1.4

b886b40907f40b4f296b4295c42e49e7e42ab657 authored over 12 years ago by Igor Vaynberg <[email protected]>
manage the more element slightly more efficiently

3107d9d77397d9ad29737f8b1606ecb9fe0dd508 authored over 12 years ago by Igor Vaynberg <[email protected]>
trigger loadmoreifneeded on first and other pages

593dadec54a8f0ae2e2e5990e86da6a6c8fff550 authored over 12 years ago by Igor Vaynberg <[email protected]>
Revert "keep loading more results until there are enough to cause a scroll. closes #164 closes #164 closes #74"

This reverts commit ff03dbcacaf4f756c872c17282c936e03b9bede6.

ea28fa4fe43b81b6d60b11d452bee01ae8a56f9f authored over 12 years ago by Igor Vaynberg <[email protected]>
keep loading more results until there are enough to cause a scroll. closes #164 closes #164 closes #74

ff03dbcacaf4f756c872c17282c936e03b9bede6 authored over 12 years ago by Igor Vaynberg <[email protected]>
do not open on meta key, closes #165

89ee75dd9d809d5bec923109330f6b6b6517aca1 authored over 12 years ago by Igor Vaynberg <[email protected]>
use opts.id func to check for id instead of hardcoded id key

95b89d44f862f76fce6016daf9f981e004afe8c8 authored over 12 years ago by Igor Vaynberg <[email protected]>
removed trailing spaces

45442aa8d7a4aabb62733f22d28ec0a72cee786f authored over 12 years ago by Igor Vaynberg <[email protected]>
Merge pull request #168 from alanho/master

Make initSelection works asynchronously

ebcd59fb29220399464c633d28851a4571191b3a authored over 12 years ago by Igor Vaynberg <[email protected]>
Merge remote-tracking branch 'upstream/master'

e8083a6e3df49af81cbf7fbb13c3f6fe5262697b authored over 12 years ago by Alan Ho <[email protected]>
Merge pull request #159 from ProLoser/patch-1

Added a link to another integration for AngularJS

a7bd800e5aea300d5813b693503f9e6f854ad10b authored over 12 years ago by Igor Vaynberg <[email protected]>
Added a link to another integration for AngularJS

f0d540da37db21cffc8a6ca55571dd6140165e6a authored over 12 years ago by Dean Sofer <[email protected]>
change event now contains added/removed/val properties. fixes #133

7ec2dec955e7b4065777cc3278e9e95fad7ea2bf authored over 12 years ago by Igor Vaynberg <[email protected]>
small cleanup #148

050a23b53d52d73fa6f6391dcfcc5848ee9e9f2f authored over 12 years ago by Igor Vaynberg <[email protected]>
define term and context. fixes #148

88ab9f9348109310168a71e6d3eca295ff52ef8d authored over 12 years ago by Igor Vaynberg <[email protected]>
add ability to programmatically specify css classes as well as css styles

e85d131f0a102d84bfb4aa1db06483d58d45813e authored over 12 years ago by Igor Vaynberg <[email protected]>
remove lineheight from choice label. fixes #147

0f473423ebb63b1fa966902683a1272c21ab5310 authored over 12 years ago by Igor Vaynberg <[email protected]>
fix input field broken by fix to #132

54b83c2baf2265ba08ae170a45e1cc40bbea94d8 authored over 12 years ago by Igor Vaynberg <[email protected]>
full tabbing support for the mac. closes #132

16c3d31e06308dc045cf8a4f176a7572cbe23477 authored over 12 years ago by Igor Vaynberg <[email protected]>
fix placeholder in multiselects when blurred by clicking outside

e13dc416548055fe5ffd9f72c8843200f1aed08e authored over 12 years ago by Igor Vaynberg <[email protected]>
code navigation 'helpers'

84f031f4b01489b9573c8a0f421273c25b64d703 authored over 12 years ago by Igor Vaynberg <[email protected]>
no longer need to blur in a settimeout because dropdown and searchfield are now detached. possibly fixes #132

4819d42f85abd7fe7ab3d87468849b9b450a2d74 authored over 12 years ago by Igor Vaynberg <[email protected]>
add spinner to search field in multiselect. fixes #130

2343572a251ae35665c487c93a92f83210d29fdf authored over 12 years ago by Igor Vaynberg <[email protected]>
when using default formatResult the matching substring is now wrapped in span with class select2-match. fixes issue #137

8f6513969e3644585e52891deed44950caa5bd5f authored over 12 years ago by Igor Vaynberg <[email protected]>
add ability to pragmatically specify some css. fixes #121

f9f3d6f4f3d74594540d3670d0d95b59146f7c76 authored over 12 years ago by Igor Vaynberg <[email protected]>
fix hiding of search when minimumResultsForSearch are used. fixes #138

8b566bf6ce85dce705dc9087db20f43141210f6e authored over 12 years ago by Igor Vaynberg <[email protected]>
ignore first empty option in selects when a placeholder is set

b7c952a1a3c3be9359676a96c62592fa9bc87e47 authored over 12 years ago by Igor Vaynberg <[email protected]>
add new options.type parameter for ajax helper. fixes #139

09f24fdda1213bdd5b3d84394fe86910d01c3849 authored over 12 years ago by Igor Vaynberg <[email protected]>
shorten function name for loadingMore()

af964bdbadfb3961fd9ee5e6e45b4480bdb48fc7 authored over 12 years ago by Igor Vaynberg <[email protected]>
Loading next page message formatting implemented, so it could also have localization

Signed-off-by: Igor Vaynberg <[email protected]>

663ba1215f2a4bd96fd8331b4342720da04c8d5e authored over 12 years ago by Aziz Gazanchiyan <[email protected]>
a small optimization to how many times highlight is called

1e2881d5d1628d48d821aa7aef6f292a903dc198 authored over 12 years ago by Igor Vaynberg <[email protected]>
fix the fix for #129

b2314bcb862d02c47dad4ebc708ef684a3d8b6a3 authored over 12 years ago by Igor Vaynberg <[email protected]>
renamed opts.elementBody to this.body for brevity

9bf38c833c2fc0868b90003b56fa0924108375dc authored over 12 years ago by Igor Vaynberg <[email protected]>
Improve performance on dropdown detaching

Signed-off-by: Igor Vaynberg <[email protected]>

693b54136126427e3152b383255dd76b69653b48 authored over 12 years ago by Aziz Gazanchiyan <[email protected]>
Clear placeholder before opening dropdown, fixes #129

Signed-off-by: Igor Vaynberg <[email protected]>

a0f067c2b20708630a54730b44d4dcca0d687459 authored over 12 years ago by Aziz Gazanchiyan <[email protected]>
Improve resizeSearch() performance

Signed-off-by: Igor Vaynberg <[email protected]>

76843719236a7d3a701906dd80fe9d2785e2e8bf authored over 12 years ago by Aziz Gazanchiyan <[email protected]>
Merge pull request #134 from bwalding/master

Use consistent CSS for image URLs

d94ab04531df1f7ec8393b4b381e065e02b2d9d6 authored over 12 years ago by Igor Vaynberg <[email protected]>
Use consistent CSS for image URLs

437be2d6320cf2d2b4e2b399f0f213223839fba5 authored over 12 years ago by Ben Walding <[email protected]>