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

Fix z-index for modals

Select2 did not previously have a high enough `z-index` for it to
be displayed over modals. The ...

000653498f1508b4d787b8195f4abc179035de90 authored almost 10 years ago by Kevin Brown <[email protected]>
Fix dropdown search sizing

When Select2 is not used with a design that universally sets
`box-sizing: border-box` to element...

65ff76c5435a71ff2d2548bc5d6ffaa0ae17fba6 authored almost 10 years ago by Kevin Brown <[email protected]>
Fixed dropdown for responsive widths

When we re-implemented support for responsive widths, through the
use of percentages, we never m...

9906b2f434a6438d26ec8463ae0f3afa87b07343 authored almost 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2968 from loic/typo

Fixed typo in error message.

52513f3290999ddb7aa7559ccb38f2a4b01ed5f1 authored almost 10 years ago by Kevin Brown <[email protected]>
Fixed typo in error message.

285d17353622dcd476e7bb265816c2577ba840e4 authored almost 10 years ago by Loic Bistuer <[email protected]>
Reverted changes to the scroll detection

This reverts the changes (from 3.5.x) to the scroll detection, so
Select2 will still reposition ...

64885513742e9cb649baac34657ace9082ce68d3 authored almost 10 years ago by Kevin Brown <[email protected]>
Only trigger `unselect` for multiple

This fixes an issue where an `unselect` event would be incorrectly
triggered when the selected o...

981c4065af6158f377cc83f6a9db79df911b02d9 authored almost 10 years ago by Kevin Brown <[email protected]>
Add information about build types

bca4e1f6d84f3c9d33311df8fa13e99577264abf authored almost 10 years ago by Kevin Brown <[email protected]>
Fixed the `selectOnClose` option

The `selectOnClose` option did not work in production because we
were decorating the `dropdownAd...

80bda0ad55885dadad02b0fc31de1794654aeedc authored almost 10 years ago by Kevin Brown <[email protected]>
Changed how the builds are done

This adds a check that triggers an error if Select2 was not able
to detect a copy of jQuery on t...

686f846fa5280083bed5147207ced35e75ce3d9f authored almost 10 years ago by Kevin Brown <[email protected]>
Fix jQuery.noConflict compatibility

When `jQuery.noConflict` is called, the global `$` variable is not
defined. We cannot assume in ...

53c9d53166806b4dc5569bb795932a34d6502f15 authored almost 10 years ago by Kevin Brown <[email protected]>
Trigger the `unselect` event when clearing placeholder

In the past, Select2 triggered the `select2-clearing` event when
clearing the placeholder. This ...

d81886e5def277df52e8510d97ae9aedadf0cf90 authored almost 10 years ago by Kevin Brown <[email protected]>
Added a check for the `results` key in AJAX responses

This should prevent users from running into unexpected errors when
they do not return an object ...

5b4e1eab42078313640761d8cc2b86629272493f authored almost 10 years ago by Kevin Brown <[email protected]>
Update docs links for the CDN

Now that cdnjs is mirroring the beta files, we know what the final
locations are going to be. Th...

850816ee771e3e6a11217dc5f5dc8102742d118c authored almost 10 years ago by Kevin Brown <[email protected]>
Hide element if template returns a false-like value

This allows you to hide elements when using the template% formatting functions.

Signed-off-by: ...

0fe54b6d3be21023248ed6fefd9e51984e03bd64 authored almost 10 years ago by fallenby <[email protected]>
Added dutch translations

nl.js

Signed-off-by: Kevin Brown <[email protected]>

c318cde916868dca5bc1d80c51235084200c716f authored almost 10 years ago by Tim <[email protected]>
Fixed Russian translation

This fixes a mistake made when migrating the translation.
This closes https://github.com/select2...

ffb58a1be8405c06a7bc694e9be69c2a3c532368 authored almost 10 years ago by Kevin Brown <[email protected]>
Improve the default language chain

If the language that is passed in through the options is just a
string, like "en-US" or "pt-BR",...

1b46e8ab3e674f4a432f2f6f907f1d8be34af661 authored almost 10 years ago by Kevin Brown <[email protected]>
If a named style can't be determined, return null

Previously this would return `style` if it couldn't be resolved and
the `style` attribute on the...

2f4cc19cd9544e95c62f5abb0e79bdd7b27ed708 authored almost 10 years ago by Kevin Brown <[email protected]>
Expose the defaults

This exposes the default options for Select2 as
`$.fn.select2.defaults`. A default option can be...

f427451853fc0250e611be98ab23051a78282429 authored almost 10 years ago by Kevin Brown <[email protected]>
Added notes on the AMD-specific options

c5a3f34012a40c3226c5d01ea53d3d32482aaa18 authored almost 10 years ago by Kevin Brown <[email protected]>
Pull query and initSelection out to compat modules

This also adds more documentation and corrects the release notes
for these breaking changes. The...

d6a83ea026819309038d051b62ea32dac2253119 authored almost 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2931 from dlion/ItalianTranslation

Added italian translation

061b43248598498ee643d919919ace4c87a7a05c authored almost 10 years ago by Kevin Brown <[email protected]>
added italian translation

ae564f6219de349e79f0f8471a98196504bfe48f authored almost 10 years ago by Domenico Leone Luciani <[email protected]>
Added basic accessibility tests

This adds basic tests to ensure that the selection is accessible by
all users. This checks for c...

b43656c13c5528de9906b13cb98075c0463a75b3 authored almost 10 years ago by Kevin Brown <[email protected]>
Add backwards compatibility with `query` option

This adds backwards compatibility with the `query` option so it
automatically patches the `DataA...

2a7ae0ea9caa213980de8aa75edcb4056ba28a71 authored almost 10 years ago by Kevin Brown <[email protected]>
Added backwards compatibility for `initSelection`

Now if the old `initSelection` method is used, a warning will be
triggered in the console inform...

e04188c85aae1c89edcc641ae010120804123e38 authored almost 10 years ago by Kevin Brown <[email protected]>
Documented the removal of `initSelection` and `query`

This adds detailed docs explaining how you can convert the old
implementations of `query` and `i...

286b83898f64b7fd80f2f4933dcb7750f3e86cff authored almost 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2917 from solcik/cs-trans

Added czech translations

7f2cb23e786be1b963f74908bcaa86694cddcf44 authored almost 10 years ago by Kevin Brown <[email protected]>
Update version identifiers for 4.0.0-beta.2

911966be78e8d81dd2ca1eb11a4b1ec31dc59c78 authored almost 10 years ago by Kevin Brown <[email protected]>
Fixed opening issue

This fixes an issue where the data set would not be queried when
the dropdown was opened.

8d35d5e41625170cbdb19c44ec04900c9fbe011e authored almost 10 years ago by Kevin Brown <[email protected]>
Added some more jQuery events

This adds the `select` and `unselect` events so users can still
hook into them from their jQuery...

28f9cae5d7d8879a87b83f77dd89b59a261f2700 authored almost 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2914 from smzchaudary/select2-ng

add maximum selection length option

dc0ebd35d5b85b125f38764520773b29f99e6cf1 authored almost 10 years ago by Kevin Brown <[email protected]>
fix spacing of examples.

bc71ad4880d4e5de0ce89109efb6e623b4c1bdfc authored almost 10 years ago by Zubair <[email protected]>
cleanup example and move examle based on PR comments.

160abdc54e46ced703fbc36e36541a3fa2b9da04 authored almost 10 years ago by Zubair <[email protected]>
rebuild dist. Fixed space

25dade52e5b701880d42a75a814f2296bed87cd3 authored almost 10 years ago by Zubair <[email protected]>
replace this.$element.val() with this.current()

1c8846079bba8ab15e955c6a011f68d6271e87a0 authored almost 10 years ago by Zubair <[email protected]>
add maximum selection length option

2bdb5dbdae395612791c6339bf6dbc11a5cce0a5 authored almost 10 years ago by Zubair <[email protected]>
fix callback using this.current.

add example.

e18fa1b5b811f77974b4419a2888e9e5dd0d41a5 authored almost 10 years ago by Zubair <[email protected]>
only verify when maximumSelectionCount is greater than 0 and add tests

7515fa7f46a243a7f9ff8aab4d2466a050752ec4 authored almost 10 years ago by Zubair <[email protected]>
Merge pull request #2919 from apfelbox/patch-1

Small bugfix in german translation

5dad831f7fa16b29e247e983089df641ed6dace9 authored almost 10 years ago by Kevin Brown <[email protected]>
Small bugfix in german translation

Just added a missing parameter in the function definition.

8ec202963acff7ce3945e50884f51f00ffb48223 authored almost 10 years ago by Jannik Zschiesche <[email protected]>
Added czech translations - fix

95a586539d9f1d1262516a64519b16689485bb0d authored almost 10 years ago by David Šolc <[email protected]>
Added czech translations

0e9cfaa89372f99ffb18642116026e7bead64576 authored almost 10 years ago by David Šolc <[email protected]>
Automatically set up docs symlink

This also adds some docs about building the documentation.
[ci skip]

766d9f05e004863d16ed7b1960fc6d9f8a40c642 authored almost 10 years ago by Kevin Brown <[email protected]>
Added `amdBase` and `amdLanguageBase` options

This should allow those using their own build systems to
automatically load in translations. In ...

86b4a5d8e20cf666d7de523df77f1977ba1dad9c authored almost 10 years ago by Kevin Brown <[email protected]>
Added `selectOnClose`

`selectOnClose` is a new option which works very much like the old
`selectOnBlur` option. When t...

584d3b48a2d426a3fba1625eecd7d7c08c6ee200 authored almost 10 years ago by Kevin Brown <[email protected]>
Added back the `width` option

In past versions of Select2, the `width` option could be used to
tell Select2 how to determine t...

af1f35176b0000acf26a411a7b360c63631cd377 authored almost 10 years ago by Kevin Brown <[email protected]>
Added a few more tests

This adds a test that makes sure that the inline data attribute
overrides the options that are p...

ff596e692e7a294871b24a44af0be9476549a2d9 authored almost 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2912 from summeragain/scroll-fix

Fixes #2908: Dropdown cause scrollbar

6a5127ac0fa0d6d8038d0a9b7f6fe87f1f104e3b authored almost 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2909 from ericdahl/docs-brackets

Docs: typo cleanup

0424d9739673bdae815846859532dc63a1762701 authored almost 10 years ago by Kevin Brown <[email protected]>
Docs: typos

e9455e1a846ce0230ef5889a47aa67bb47a32238 authored almost 10 years ago by Eric Dahl <[email protected]>
Update dist

a4d45d4f17750ce86da7eaa7962115a52f91efee authored almost 10 years ago by lazything <[email protected]>
Fix scroll caused by dropdown

b7f47310519230ad36d2305fec915761e6e2607e authored almost 10 years ago by lazything <[email protected]>
Add IRC notifications for build failures/changes

a6b11ab48b22b25b9b3d3cd45c479d4b164ea605 authored about 10 years ago by Kevin Brown <[email protected]>
Fix support for deep nesting

While deep nesting will not work on a standard `<select>`, we can
emulate it through data object...

7f17291932bdeb2dcfec6cebc7a2733ab70f13f2 authored about 10 years ago by Kevin Brown <[email protected]>
Updated README and CONTRIBUTING

This also updates the LICENSE year. [ci skip]

5c71e2da5099adc9ca73bb9071fa5914de7d4661 authored about 10 years ago by Kevin Brown <[email protected]>
Added Travis CI badge and fixed package.json

05d8407b05d527ee8034f944e414f868dbed403a authored about 10 years ago by Kevin Brown <[email protected]>
Fixed multiple selection placeholders

Due to a change in 7edf0e3ebe700850a0f68c8c25f3381509d78f03 that
made the rendered selection tak...

a6c4215976ca320715e0eabab8dd8eeff5fd9337 authored about 10 years ago by Kevin Brown <[email protected]>
Fixed overflow when triggering results messages

Because of the change made previously to make events global, any
time a result message was trigg...

1191d4a3bbf2e8ae087815b79b6a87d8c04fc777 authored about 10 years ago by Kevin Brown <[email protected]>
Update contributing guide and README for 4.0

e63c0ce6a0f882236cf7cb97210fcf3a16d2beff authored about 10 years ago by Kevin Brown <[email protected]>
Style clear icon in multiple selects

The `AllowClear` decorator appears to work fine with multiple
selects, so we've chosen to remove...

7edf0e3ebe700850a0f68c8c25f3381509d78f03 authored about 10 years ago by Kevin Brown <[email protected]>
Hide the `x` when the container is disabled

This fixes an issue where the `x` in multiple selects (visible next
to the option) would be visi...

fe1374fd118d9bf93aaa231c7b81a9833eb66b11 authored about 10 years ago by Kevin Brown <[email protected]>
Expose `createTag` as an option

This is a replacement for the old `createSearchChoice` method which
allowed tags to be dynamical...

751fc63169988a05a228514435ba0f85a3bb0186 authored about 10 years ago by Kevin Brown <[email protected]>
Normalize internal select/unselect events

Also pull the logic for automatically closing the dropdown into the
dropdown adapter, taking it ...

024d41b4125cfbc0b479fb1186b1b5ce32e7c063 authored about 10 years ago by Kevin Brown <[email protected]>
Hide the event demo

27c5eebcf9d9ea4d99fe8f091a1127bc4a80c9da authored about 10 years ago by Kevin Brown <[email protected]>
Fix tagging example

Tagging should be demonstrated using the multiple select, as that
is where it really shines. It'...

1fe8de3ad55220cc94a27938faadac0bfe900b0b authored about 10 years ago by Kevin Brown <[email protected]>
Set up a public event relay

Now Select2 can fire jQuery events that will match the corresponding
internal events. The `open`...

64cb528f62cc2cf7573c5a9fc0a285212183e205 authored about 10 years ago by Kevin Brown <[email protected]>
Use the star event for internal binding

The star event will allow us to relay any custom events as well as
the ones used internally by S...

bba967ba21276ba814e66f0e56ddb64e794b6a46 authored about 10 years ago by Kevin Brown <[email protected]>
Search focus should also happen in a timeout

For the dropdown search on single select instances, the search
focus should happen in a `setTime...

68286e3cff36012b1acda8869a0b8d16532f9c95 authored about 10 years ago by Kevin Brown <[email protected]>
Updated package files

The package files (bower, npm, etc.) now point to the new
distribution locations, and have the b...

e76460a392a46184aed976123a49130b784ec611 authored about 10 years ago by Kevin Brown <[email protected]>
Finish off the initial release notes and prepare for beta

df40e2258624c4463cd04672f3471bbe49ab88fd authored about 10 years ago by Kevin Brown <[email protected]>
Universally use the object query return

There was a plan to universally use an array as the return from
query methods, but now that we'v...

05cbaf7bf7951a04f967637521e2f2e1777d1b8c authored about 10 years ago by Kevin Brown <[email protected]>
Add a few translations, label the others

063859160df59c97f5f57bb118ea51740b2d3d4a authored about 10 years ago by Kevin Brown <[email protected]>
Added a few new translations

Also fixed the JSHint issues in the new Ukranian translation.

e111ea0420b7cb553c32747837b21a48fead0428 authored about 10 years ago by Kevin Brown <[email protected]>
Merge pull request #2897 from ktaras/feature/adding-ukrainian-localization

Adds Ukrainian localization

970e98c573fd1ad03e23895a82e775470e467943 authored about 10 years ago by Kevin Brown <[email protected]>
Adds Ukrainian localization

8a2cdac8ceebf8b00c2c6e370a80731846b031a1 authored about 10 years ago by ktaras <[email protected]>
Added support for tokenization

This brings up both the `tokenizer` and `tokenSeparators` options.

f8fdcb6fa559b24126b1cfb07cf92ea7be2d6d9f authored about 10 years ago by Kevin Brown <[email protected]>
Fixed SASS error

This fixes the SASS error caused by the `&[dir="rtl"]` selector in
the `_single.scss` and `_mult...

938993302f41d8a870683a63059a6c3badbc5d2c authored about 10 years ago by Kevin Brown <[email protected]>
Added Google Analytics

dcfaa5f628b72e249ae1c0fe8f1096ee60e02afb authored about 10 years ago by Kevin Brown <[email protected]>
Called out 3.5.2 dodcs

Also migrated all of the links to the new location in the GitHub
organization.

562669064b5e3d85be15842d5b0653b5e2ec8e01 authored about 10 years ago by Kevin Brown <[email protected]>
Updated docs to use the Select2 GitHub organization

Documentation will now be at https://select2.github.io

ed24a51ea3fcf5ede481d7d1d7eae852f70928ad authored about 10 years ago by Kevin Brown <[email protected]>
Added jQuery.mousewheel support

jQuery.mousewheel will allow us to prevent the dropdown from
automatically closing when the user...

ad94b6faba806719efbb2d85249f9f17c09e0bcd authored about 10 years ago by Kevin Brown <[email protected]>
Added pagination support for AJAX results

I'm still not quite sure how this should be handled for the general
case, but for the special ca...

09e3a76bf922bd3bb5cb2dc1d41dbff913cb3708 authored about 10 years ago by Kevin Brown <[email protected]>
Clone the options for group elements

This will always clone the options that are passed in when
initializing Select2 on multiple obje...

f1e86470ca08953d802489e6c0e0928674dc08cb authored about 10 years ago by Kevin Brown <[email protected]>
Added more migration information

The documentation for templates still needs to be created.

A warning is now generated in the co...

12f7ed93f8bbbc92945eb3a8432ef24597e45c75 authored about 10 years ago by Kevin Brown <[email protected]>
Added RTL support to Select2

This works in the same way as the `lang` option, which pulls
directly from the `dir` property on...

e7c2c70d1a763028d88140a9e518a3a34dfbaa7c authored about 10 years ago by Kevin Brown <[email protected]>
Support duplicate options

Now that the data objects have the `element` property, we can test
to make sure it's a DOM eleme...

0bc73941fee2f531f0cb5f970f1880edbae68825 authored about 10 years ago by Kevin Brown <[email protected]>
Fixed string to object conversion

fe136088f6795c369e6f15040643cc217b893f5c authored about 10 years ago by Kevin Brown <[email protected]>
IE fixes and alt-arrow support

alt-down/up is the standard way of opening a select when using a
screen reader. This also fixes ...

ea41b627dc7c4da5e62bf8f0e138b3c71ae9aef9 authored about 10 years ago by Kevin Brown <[email protected]>
Respect the disabled attribute

Added a disabled state for Select2. This will correctly listen to
property changes (so when the ...

358306ac8c838265119853e1eb6d51be74852e2c authored about 10 years ago by Kevin Brown <[email protected]>
Added the `element` reference in the data

This also fixes `_normalizeItem` for cases where `text` doesn't
exist, so it doesn't clobber the...

1e44ab7ee13ad4175702baa11f3ada23be0ff7a0 authored about 10 years ago by Kevin Brown <[email protected]>
Added some translations

33809f1fefef0327261d441c9e7ea495f4baf1f8 authored about 10 years ago by Kevin Brown <[email protected]>
Added five more translations

This also fixes a spelling error in "loading" in the last nine.

8a78ff7415f687664089f13921f1cb78947336cd authored about 10 years ago by Kevin Brown <[email protected]>
Migrated 9 more translations

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

e23b8b548333bd4478a8f33df75dc49aab6bddf6 authored about 10 years ago by Kevin Brown <[email protected]>
Fixed backspace on multiple selects

096d55b64d17d2b0de6aec9d952363322ebe8405 authored about 10 years ago by Kevin Brown <[email protected]>
Added back `select2("enable")`

This also adds a console warning if the `enable` or `val` method is
called.

3ff78d8145a54b669be7e1afe47cb0d040571121 authored about 10 years ago by Kevin Brown <[email protected]>
Added back `select2('val')`

With the recent changes to how Select2 works internally, this really
isn't needed. This has been...

100015b205a2a1304e94b8b4dad8a60c2bf11c3d authored about 10 years ago by Kevin Brown <[email protected]>
4.0 announcement

4afb80b7ffb2889febe88a61c24fa7d7c8561f4b authored about 10 years ago by Kevin Brown <[email protected]>