Changelog
4.0.6
clear
and clearing
events (#5058)scrollAfterSelect
option (#5150);
before beginning of factory wrapper (#5089)select2-selection__rendered
when selection is cleared (#4640, #4746)Defaults.set()
(#4364)Utils.__cache
instead of using $.data
(#4346, #5486)selection:update
(#4306).select2-hidden-accessible
(#4908)tk
) (#5125)sq
) (#5199)ka
) (#5179)ne
) (#5295)bn
) (#5248)removeAllItems
translation for clear "x" title (#5291)Changelog
4.0.5
autocapitalize=off
with autocapitalize=none
(#4994)ps
) (#4960)dsb
and hsb
) (#4949)inputTooShort
message (#4817, 4896)af
) (#4850)bs
) (#4504)Changelog
4.0.4
0
option values [https://github.com/select2/select2/commit/16b4840c0e2df0461998e3b464ee0a546173950d, https://github.com/select2/select2/commit/0358ee528765157234643d289bce6b8ca5889c72]<select>
serialization example [https://github.com/select2/select2/pull/4538]errorLoading
Hungarian translation [https://github.com/select2/select2/commit/7d1d13352321e21670ff1c6cba7413aa264fd57a]errorLoading
German translation [https://github.com/select2/select2/commit/4df965219ea4c39147fde9335bc260840465933a]errorLoading
Galician translation [https://github.com/select2/select2/commit/8fcc6202c37f4e06d951342bf142a3b906b6b8e3]errorLoading
Thai translation [https://github.com/select2/select2/commit/625fc78ee616baedf64aa37357403b4b72c7363c]searching
and errorLoading
Finnish translations [https://github.com/select2/select2/pull/4730]errorLoading
Turkish translation [https://github.com/select2/select2/commit/fd4a0825315c7055347726d5818c999279f96ff8, https://github.com/select2/select2/commit/751b36767f9f28b9de9428d5e8035c9a404915d9]Changelog
4.0.3
This is the third bugfix release of Select2 4.0.0. It builds upon the second bugfix release and fixes many common issues.
dropdownAutoWidth
option now properly works [https://github.com/select2/select2/commit/fe26b083eb830836061de1458e483782cefef424]focus
event on the original <select>
is now handled [https://github.com/select2/select2/commit/31e7a1d4c52ed7477769fcad5d15166ae3c9b4d0]select2('option')
no longer mutate the arguments when working on multiple elements [https://github.com/select2/select2/commit/c2c1aeef31c95c6df5545c900a4e1782d712497c]selectOnClose
now works properly with closeOnSelect
[https://github.com/select2/select2/commit/481c43883e23874e9c35879d173eb8cc5b994b12]ajax.delay
to empty search terms as well [https://github.com/select2/select2/commit/4b9e02f02211248be25ac4c16d4635cf38237bb9]<label>
[https://github.com/select2/select2/commit/3bc7f4ac78b58eff8cd17b3273596638c3c9c5c1]ajax.url
[https://github.com/select2/select2/commit/5a831afb9a7d46e8f20aec21164cfbfd182024de]errorLoading
[https://github.com/select2/select2/pull/4259]errorLoading
[https://github.com/select2/select2/commit/b1ea28bb7d8c02b3b352f558031ccfc8041122eb]Changelog
4.0.2
This is the second bugfix release of Select2 4.0.0. It builds upon the first release candidate of Select2 4.0.2 with some minor improvements.
insertTag
option to control the placement of the tags
option [https://github.com/select2/select2/pull/4008]id
and text
[https://github.com/select2/select2/issues/4086]change
just for Select2 [https://github.com/select2/select2/issues/3620]Changelog
4.0.1
This is the first bugfix release of Select2 4.0.0. It builds upon the first release candidate of Select2 4.0.1 with some minor improvements.
templateResult
[https://github.com/select2/select2/commit/dc516e7073605723be59bc727b96a3b3dea1ae5a]templateSelection
[https://github.com/select2/select2/pull/3324]selectOnClose
and now be used with closeOnSelect
without getting a stack overflow [https://github.com/select2/select2/commit/393ca4cf7f7f7097d3a994bda3dbf195e945eba1]:all:
is now correctly removed when used in containerCss
and dropdownCss
options [https://github.com/select2/select2/pull/3464]change
event was triggered [https://github.com/select2/select2/commit/698fe7b9e187e182f679aa679eb8b0ecb64a846b, https://github.com/select2/select2/commit/88503d2c67dc7f4fb9395a17f17edfe4948cf738, https://github.com/select2/select2/commit/dd2990adead92593a2dffff6ae004ea8b647d130]ArrayAdapter
where the existing <option>
data would be used instead of the array data [https://github.com/select2/select2/pull/3565]$dropdownContainer.width()
in the AttachBody
decorator [https://github.com/select2/select2/pull/3654]AttachBody
decorator [https://github.com/select2/select2/commit/671f5a2ce21005090e0b69059799cd3dd1fbbf84]open
event trigger [https://github.com/select2/select2/pull/3507]this
in ajax.data
and ajax.url
callback functions [https://github.com/select2/select2/issues/3361]<select>
not always being hidden correctly in some cases [https://github.com/select2/select2/pull/3301]maxiumSelectionLength
example [https://github.com/select2/select2/pull/3454]Option
parameters in the 4.0 announcement [https://github.com/select2/select2/pull/3547]inputTooLong
and inputTooShort
messages in the Galician translation [https://github.com/select2/select2/pull/3291]errorLoading
for Indonesian translation [https://github.com/select2/select2/pull/3635]errorLoading
for Danish translation [https://github.com/select2/select2/pull/3870]