Skip to content

Release Select2 4.0.13#5754

Merged
kevin-brown merged 16 commits intomasterfrom
develop
Jan 28, 2020
Merged

Release Select2 4.0.13#5754
kevin-brown merged 16 commits intomasterfrom
develop

Conversation

@kevin-brown
Copy link
Copy Markdown
Member

No description provided.

kevin-brown and others added 16 commits November 11, 2019 16:21
Connected GitHub to Open Collective for funding
Currently the docs on select2.org link to https://github.com/select2/docs which has been archived. I believe this should fix that.
Fix "edit this page" links in docs
#5513)

* Feed back the keypress code that was responsible for the 'close' event s part of the event parameters

* Update core.js
* Only trigger 'selection:update' once on DOM change events

* Fix linting errors

* Add test for adding multiple options to a select

* Switch Array.isArray to jQuery.isArray

Because we're still doing best-effort IE8 support for some reason.

* Fixed formatting in tests

Co-authored-by: Kevin Brown <[email protected]>
* Prevent a disabled element from opening via keydown/keypress events

Gist: return early from the Select2#open method if the object is
disabled.

Add helper #isEnabled and #isDisabled methods to Select2 and selector
classes.

Add test coverage for the original, expected behavior and new
preventative behavior.

* Remove single-use method from tests

Co-authored-by: Kevin Brown <[email protected]>
@kevin-brown kevin-brown merged commit 45f2b83 into master Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants