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

Backspace unselects item in multiple selects

The backspace key now behaves very similar to how it does in other
multiple select boxes, such a...

395e06aff52059f654aff47f03a26cad8955a092 authored about 10 years ago by Kevin Brown <[email protected]>
Add `minimumResultsForSearch`

0de516f17a09bb4ba889bdd493d5edd90776be13 authored about 10 years ago by Kevin Brown <[email protected]>
Allow for custom sorting functions

This adds the `sorter` function, which works in the same way as the
old `sortResults` function.

caf4ad73d7514d4b033c8b3f93375e0275b8dde7 authored about 10 years ago by Kevin Brown <[email protected]>
Added `lang` attribute support

Select2 will now detect the language based on the `lang` attribute
of the `<select>` element or ...

ec1bd3387bc6a2d30eb9c5b216b1790e5c28e167 authored about 10 years ago by Kevin Brown <[email protected]>
Support `data-*` attributes for configuration

The documentation is included, along with a few tests, which
explains the general rules for how ...

14db3fc801762737dffb22693fc75418ff43ff73 authored about 10 years ago by Kevin Brown <[email protected]>
Added `dropdownParent`

`dropdownParent` controls the location of the dropdown when it is
automatically added to the DOM...

f6625d234767fb7e652db88a9d5c8979af5da187 authored about 10 years ago by Kevin Brown <[email protected]>
Added more documentation

This adds documentation for a `dropdownParent` option which has
not yet been created, but will c...

f7d75b62fa745a9cc885e1b1758f6599be035dd5 authored about 10 years ago by Kevin Brown <[email protected]>
Finish off the incomplete options documentation

The documentation is not completely finished, but now we have no
placeholders waiting to be comp...

4cdda7e156b508d1c4a8dfd85f05a59f58c69982 authored about 10 years ago by Kevin Brown <[email protected]>
Added support for a click mask

In past versions of Select2, a mask was used to detect clicks
outside of the dropdown. While thi...

f0017c024d3ddaff5a22f84d1627fe8edd4ecacc authored about 10 years ago by Kevin Brown <[email protected]>
Added documentation footer

The documentation will be licensed under CC BY 3.0, instead of
under the MIT license like the re...

1ca71578d4f9a9dfec03e5c94345e5877439b6da authored about 10 years ago by Kevin Brown <[email protected]>
Added getting started guide to the home page

ab763b060d2a98f8753d19316db2bd6ea4b89d7c authored about 10 years ago by Kevin Brown <[email protected]>
Allow the dropdown to point up

Up until now, the container could only have a dropdown that was
displayed below the container. W...

ce38cd5b9cbf9beb3ddb63e02c32ba1c09a1fe90 authored about 10 years ago by Kevin Brown <[email protected]>
Started adding more translations

fda973c34f864022d3719eb94f61f3e2331ea893 authored about 10 years ago by Kevin Brown <[email protected]>
Automatically close on scroll

This now matches how the browser works, where the dropdown is
closed when the window scrolls.

T...

07575f051cae13197029d9ad7a30209e904e8c54 authored about 10 years ago by Kevin Brown <[email protected]>
Added `maximumInputLength` support

e3647051de4c9f086e63c921aae4cb8040d6b2ee authored about 10 years ago by Kevin Brown <[email protected]>
Add tests for the multiple selection container

43efd43d57290245cccc1d2fcc34f0c521b3615d authored about 10 years ago by Kevin Brown <[email protected]>
Fix hiding search

When the dropdown is in the dropdown that is attached to the body,
the call to `show` causes `di...

7fc195f70dafa4ef67bde60e016a00dfe02aa307 authored about 10 years ago by Kevin Brown <[email protected]>
Added tests for the single selection container

4cab421966f1bc3d0e136c9081a929cdeb113432 authored about 10 years ago by Kevin Brown <[email protected]>
Finished off tests for tags

This also adds back the ability for tags to return `null` in order
for no tag to be added to the...

56d5778590691d32402b7c88c5f5789a9d953bcd authored about 10 years ago by Kevin Brown <[email protected]>
Added tests for tags

76e4ea8340f2b5e787b2e93e0fe2af018e4b32f6 authored about 10 years ago by Kevin Brown <[email protected]>
Added tests for minimumInputLength

16e565e28eb8c47517ec242e2c1ed1b593204902 authored about 10 years ago by Kevin Brown <[email protected]>
More work on the release announcement

389c3ed8669c34052d4be846f0038accd3a2ee85 authored about 10 years ago by Kevin Brown <[email protected]>
Automatically push docs updates

593a3578867d8b120853f95cccf829861c6dc94e authored about 10 years ago by Kevin Brown <[email protected]>
Fixed the default translations

Previously the default translations would break for custom AMD
builds. This fixes it so it does ...

a4af105a6ed90cf81f705140c0f69aadb6d5a0af authored about 10 years ago by Kevin Brown <[email protected]>
Extracted the original positioning out

With this change, any instances overriding the dropdown is
required to decorate it with the posi...

81db43fa99f00f0a042c9d391e07f444d7682b60 authored about 10 years ago by Kevin Brown <[email protected]>
Add a module for attaching the dropdown to the body

In Select2 3.x, the dropdown is attached to the body element and
it is floated above all other e...

6a0c002f9408f34dd85b1661e2a8c70dfaff71e6 authored about 10 years ago by Kevin Brown <[email protected]>
Move positioning into the components

The main container should not need to position the individual
components. This makes it easier f...

31c09315c8b0baee60e99afaf998ab2336b1bf52 authored about 10 years ago by Kevin Brown <[email protected]>
Moved the body click handlers out

This should allow us to start working on the body mask handler,
and make future implementations ...

be3414f6fe1e6203fac99238e9c9a6f27c1c3935 authored about 10 years ago by Kevin Brown <[email protected]>
Fixed bug when destroying Select2

When destroying Select2, an error could be raised while destroying
the selection container. This...

85593de1fa5c753829f1028cdc0242b0075a8f24 authored about 10 years ago by Kevin Brown <[email protected]>
Updated with master

ade7180d70a051ec7f95b6ec08dfc13b8b82e0bc authored about 10 years ago by Kevin Brown <[email protected]>
Set up the GitHub Pages command

Now we can synchronize GitHub Pages with the docs in the master
branch quickly and easily.

12de3c2b5e6291da8fd274839baa59359301db82 authored about 10 years ago by Kevin Brown <[email protected]>
Fixed the theme example

d9e254ed2734a67f7cdba406368c25e33f8c2ca0 authored about 10 years ago by Kevin Brown <[email protected]>
Added the arrow for the dropdown

ac5d584f3de47fdb976636246137486ed0219fa5 authored about 10 years ago by Kevin Brown <[email protected]>
Added back the `allowClear` option

ffed37013d3c8af77c3777d71d45abc10649dbb4 authored about 10 years ago by Kevin Brown <[email protected]>
Working on the classic theme

dafa99bf40fd455745da96ae15d163b81c782664 authored about 10 years ago by Kevin Brown <[email protected]>
Converted classic theme to BEM

This should be the last of the changes.

e686bce9d0ef6db56c28115453249d115bbf9d17 authored about 10 years ago by Kevin Brown <[email protected]>
Finish the core switch to BEM

This switches all of the dropdown components to use BEM.

3e54fc97e58b3c739f3a2185f51d77ecdb9ae983 authored about 10 years ago by Kevin Brown <[email protected]>
Finished switching main container to BEM

8cb074ccef8d49346918722803010e21ff390098 authored about 10 years ago by Kevin Brown <[email protected]>
Switch the multiple selection container

This switches the container to use BEM for the class naming.

7933eb77c1d9a57ecb23690f59f55d5aab6ec0f5 authored about 10 years ago by Kevin Brown <[email protected]>
Start the switch to BEM

This is inspired by https://github.com/ivaynberg/select2/issues/2826
and starts the general tran...

971422f92e69f33a21f77746fdbe96e7fa8220ed authored about 10 years ago by Kevin Brown <[email protected]>
Automatically resize the search box

Now the search box is automatically resized for placeholders to
fit the available space, so we d...

f1c02db1893f86d62c4f96d009deeff16e63cb87 authored about 10 years ago by Kevin Brown <[email protected]>
Added inline searching for multiple selects

This adds a search box to the main container for multiple select
boxes, similar to the what the ...

217cd4cfd03798106c13f83a421cb87f3b18d596 authored about 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2755 from kupishkis/2753

After clearSearch nextSearchTerm is not cleared

f382f3d02ddc132fee055d7c15fb0f5f683c65de authored about 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2730 from od3n/master

updated Malay & Indonesian translations

9913cb7c2574a00251f9dc160ac26efee8ae2b2d authored about 10 years ago by Kevin Brown <[email protected]>
Automatically strip diacritics

This adds a dictionary for converting diacritics to a normalized
representation. This dictionary...

2bec6e257997bbbfe2933ecf44e3ff5dac759485 authored about 10 years ago by Kevin Brown <[email protected]>
Built out the translations

This migrates over the required English translations under their
new names.

The "Searching" mes...

5ec201ca3031d31b02772315d72d521ee1b174c9 authored about 10 years ago by Kevin Brown <[email protected]>
Display a loading message when searching

Now when searching, a loading message is prepended to the top of
the results. This replaces the ...

7e6782d5807e7ee2a7a61a6a03b47fe3654ff06c authored about 10 years ago by Kevin Brown <[email protected]>
Better accessibility for multiple select boxes

28c56e788584df879c0a0fd06241d7e35cb427f6 authored about 10 years ago by Kevin Brown <[email protected]>
Change how the results are highlighted

Previously, a result was no longer highlighted when the mouse was
no longer over it. While this ...

cee8c18c2368c0d39b6f23a6c0d091f522a6a3b2 authored about 10 years ago by Kevin Brown <[email protected]>
Started work on the classic theme

Some people like the old theme, so we're going to also include that
one as well as the easier-to...

849a9c7a32826f15302c16052185d694abbbfe7c authored about 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2808 from yuks/patch-1

formatMatches translation added

69e8e6e355957e472702b8e80f3ebd501a5e42ca authored about 10 years ago by Kevin Brown <[email protected]>
formatMatches translation added

ced4bf692cf04481e10cc65e33e51fae4a9eef94 authored about 10 years ago by Yuksel <[email protected]>
Added `destroy` method

Now Select2 supports destroying itself, and all elements that it
creates.

a2766b7ed63eab07956e3499edddefaa2d227d66 authored about 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2789 from RustyToms/drop_above_dropHeight_fix

recalculate $dropdown height after drop-above class added

a8377e3681ee808335bbf746ff1f55d391b2b112 authored about 10 years ago by Kevin Brown <[email protected]>
Continued work on the documentation

78ee1bc01ec7c6e7bc14040a3914daba82587e82 authored about 10 years ago by Kevin Brown <[email protected]>
Add support for initializing tags

This adds backwards compatibility for the old tags.

10536370ded57906353b4fcb054d3757ddd4f7b7 authored about 10 years ago by Kevin Brown <[email protected]>
Added default selection for AJAX

d306fcf82c4b301d33b4bbd7098a6f3aed6cc3cc authored about 10 years ago by Kevin Brown <[email protected]>
Focus the search upon opening

5535f072e1e5b2f8bce666af1869076024a1267a authored about 10 years ago by Kevin Brown <[email protected]>
Automatically create options on select

07e82d6be87d240712d1dbb406325bfc6f3bf72e authored about 10 years ago by Kevin Brown <[email protected]>
Fixed default selections for arrays

d411a0fa76f99e80159922db2262c4cdd57a97b0 authored about 10 years ago by Kevin Brown <[email protected]>
Remove jQuery from building the options

This fixes many of the speed issues the results had when working
with large data sets. jQuery ha...

e3deb3ae03837a806a62a294a79d8a3736fdb7f9 authored about 10 years ago by Kevin Brown <[email protected]>
Fix caching when querying

This fixes caching when querying, so the data object no longer
needs to be completely regenerate...

8ecc35d504d1daaa71609ab409355db77b8c70fb authored about 10 years ago by Kevin Brown <[email protected]>
Improve data array speeds

This improves the speeds of creating the `<option>` tags for array
data. By creating the HTML ah...

05ddbec1a70783f4efd060bba29abdae3b422911 authored about 10 years ago by Kevin Brown <[email protected]>
Improve option generate speed

Now the options are mostly generated by hand before being passed
off to jQuery for templating. T...

56dbbf8cdbe5db4a62867b4b2b2e5337783a3d83 authored about 10 years ago by Kevin Brown <[email protected]>
Added test to make sure the options are generated

8158e151ffe7b60508280c23dd9766353268e03a authored about 10 years ago by Kevin Brown <[email protected]>
Convert array data to options immediately

This converts individual objects passed in through the `array`
parameter to `<option>` tags when...

8ea23610f1c3c803c3e82dcfd9de353c2e631b10 authored about 10 years ago by Kevin Brown <[email protected]>
Started working on the initial release announcement

5454a908a1fc973a6a96b8b8058aff4c60cf9540 authored about 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2786 from exabugs/master

Delete 'StarHack' code. Because select2 support IE8+.

6d029f3f2fe69be6211c4c0dbf9444c23e8e3e29 authored about 10 years ago by Kevin Brown <[email protected]>
Added Spanish translation and fixed the example

c7e8f8159500ee0b49666d251c65cef17e389318 authored about 10 years ago by Kevin Brown <[email protected]>
Rewrote the matcher example

69fb428e0194f656acee6a16b1199a5130355e07 authored about 10 years ago by Kevin Brown <[email protected]>
Added matcher example and reworked compat

The matcher example now matches the old matcher example, and the
compatibility module has been t...

ed98443d47c9cb26f755d7c80421c0456ff0f353 authored about 10 years ago by Kevin Brown <[email protected]>
recalculate $dropdown height after drop-above class added

a83ae7858aa5c1621eff396d2115bcd965cb9048 authored about 10 years ago by Jonathan Toms <[email protected]>
Delete 'StarHuck' code. Because select2 support IE8+.

7f75f46e5baaf0dda5ca88548dbc30e4506ccf0e authored about 10 years ago by exabugs <[email protected]>
Fix AJAx example

6e4336769fd5b5dae7b4989aae0f7a6fde12cce3 authored about 10 years ago by Kevin Brown <[email protected]>
Better infinite scroll

Only show the "No results found" message when there are no results
visible in the list. This avo...

0bc48329951ea5a8eeeb89af69c1b02643476978 authored about 10 years ago by Kevin Brown <[email protected]>
Added infinite scrolling support for AJAX

5e3b63289cab05471bceeeac8fe8a3ed41b3dc1e authored about 10 years ago by Kevin Brown <[email protected]>
Added docs build for grunt

78bcd6e8310002ab8fc3bc10c330014e42b4ad57 authored about 10 years ago by Kevin Brown <[email protected]>
Handle `minimumInputLength`

91cecd55edcc3a055e1e5e4ef3c8325babf8a1be authored about 10 years ago by Kevin Brown <[email protected]>
Templating for selections

8b7924fc724ee8b3852ca077a2838e670300174b authored about 10 years ago by Kevin Brown <[email protected]>
Bring over the repo results formatter

98fb41b44241913a58e823475096e324e533e63a authored about 10 years ago by Kevin Brown <[email protected]>
Added basic templating to results

a3fa516761ea825271cad32237aa53ef4654eb84 authored about 10 years ago by Kevin Brown <[email protected]>
Working on remote data sets

This starts work on the example, which currently uses the GitHub
API.

The `ajax.delay` option h...

be4d09145117e4525afacadc4646c05f0600bddb authored about 10 years ago by Kevin Brown <[email protected]>
Better key event handling

6d2b462e2b6368d2d8acf6cd09e9fcd37dde009c authored about 10 years ago by Kevin Brown <[email protected]>
Move to a central key handler

This allows for any control to emit key events, and for the Select2
instance to handle them. So ...

e16c505c25ff0993cd186b8a23b107d4dd6cb875 authored about 10 years ago by Kevin Brown <[email protected]>
Register the click handler in the container

This shouldn't be in the core, it's much easier to override things
in the container.

3b575ad92f3ebf7e16e4d7e5621cd665cc7aadb6 authored about 10 years ago by Kevin Brown <[email protected]>
Set up the click handler for closing

Now the dropdown will automatically be closed when the user clicks
outside of it.

130358e8ae26e632146674ab06e90e4ada36d027 authored about 10 years ago by Kevin Brown <[email protected]>
Move all of the event binding into separate methods

This should make it easier to override in subclasses.

f8ca597f02cc300b26d9a9e5ca42d508fbbbea60 authored about 10 years ago by Kevin Brown <[email protected]>
Allow the position of the tag to be customized.

47d0bc4fe1ed23b2c05acf15c9fc1332be45440f authored about 10 years ago by Kevin Brown <[email protected]>
Better support for tagging

This removes the special case for `<select>` elements and instead
handles everything tagging rel...

8bdd83c44fc05b4daf7022cad2ccd2deffb6fbfc authored about 10 years ago by Kevin Brown <[email protected]>
Fix automatically hiding the placeholder

The placeholder will not only be automatically hidden if the
results adapter was not already ove...

b87a4a55e43fd136ed638ff03bc54238e0c5c5b9 authored about 10 years ago by Kevin Brown <[email protected]>
Added decorator to remove the placeholder object

This will remove the placeholder object from the results list.

e57e0b1870408af2052c899cdf3bdde57511e14f authored about 10 years ago by Kevin Brown <[email protected]>
Move placing the sections into methods

This allows them to be overridden, allowing for things like
attaching the dropdown to a differen...

09a0bb89b8754506f896ba35b0cbb9f471a22a96 authored about 10 years ago by Kevin Brown <[email protected]>
Tweak the README

Now we point users to the `LICENSE.md` file for the license,
instead of including it in the READ...

8bf86ebae1c782fc67f69421dc3332ab5429e7ad authored about 10 years ago by Kevin Brown <[email protected]>
Merge branch 'master' into select2-ng

This adds the package management files back into the repository
and also updates the README to r...

fef1ccfd810deffd934a552b70324497ad606cbb authored about 10 years ago by Kevin Brown <[email protected]>
Added MIT license

6f6e4f50aa91b900bd1c6cfb5607630e679d5831 authored about 10 years ago by Kevin Brown <[email protected]>
modified version identifiers in descriptors for release 3.5.2

4e19d879276a2639e76af07f56832a8646283d87 authored about 10 years ago by Kevin Brown <[email protected]>
Go back to hiding the original element

This was only done to maintain compatibility with labels, back
when we could capture the focus e...

db7cd1b373f9a2a743a68ce32cc59dc8fc899eb8 authored about 10 years ago by Kevin Brown <[email protected]>
Started work on the "No results found" message

959b96eca64ee9231c42d528e40a9076232cd412 authored about 10 years ago by Kevin Brown <[email protected]>
Added Translation object

This continues the work to get translations built into Select2.

9bb993cee9f54b9613b31d1d1ceb460704196514 authored about 10 years ago by Kevin Brown <[email protected]>
Start working on translations

This adds a custom r.js build for i18n, which processes each JS
file in the `select2/i18n` direc...

20fcaa444975e7561573047615f4851ded240213 authored about 10 years ago by Kevin Brown <[email protected]>