Muhammad Nasir Rahimi
5330a0cc62
Add Pashto (ps) Language
2017-06-17 13:29:44 +04:30
milupo
575e862f98
Create hsb.js
2017-06-11 20:02:09 +02:00
milupo
d914a6d5f5
Create dsb.js
2017-06-11 20:00:58 +02:00
milupo
5a7f832f12
Create dsb.js
2017-06-10 17:03:53 +02:00
milupo
3bc4522200
Create hsb.js
2017-06-10 17:03:05 +02:00
milupo
25fdc6bef4
Delete hsb.js
2017-06-10 17:02:15 +02:00
milupo
53c4c97411
Delete dsb.js
2017-06-10 17:01:36 +02:00
milupo
32ba6d7573
Create dsb.js
2017-06-10 16:04:48 +02:00
milupo
a4a095bda8
Create hsb.js
2017-06-10 16:02:59 +02:00
depesr
5bb7446d24
Update sk.js
2017-05-23 07:22:18 +02:00
depesr
e43a1f2165
Updated sk.js localisation
2017-05-23 07:18:15 +02:00
Frederic G. Østby
f38d84df71
Fixed norwegian inputTooShort
message.
2017-05-05 13:02:43 +02:00
Ettienne Louw
2b3dd18d35
Create af.js
...
Added afrikaans language file
2017-03-29 18:07:49 +02:00
Børge Antonsen
946149277e
Simplified Norwegian(nb) translation to a more correct text
2017-03-02 10:13:57 +01:00
Josef Šimánek
cd7d4be576
correct typo in pt.js
2016-12-30 18:22:49 +01:00
Kevin Brown
751b36767f
Corrected linting issue in Turkish translation
2016-12-30 12:15:56 -05:00
mhamlet
f6fa52dcc0
Added Armenian Localization
...
This closes https://github.com/select2/select2/pull/3993 .
2016-12-30 12:15:25 -05:00
osman orhan
fd4a082531
Add missing errorLoading
to Turkish translation
...
This closes https://github.com/select2/select2/pull/4650 .
2016-12-30 11:50:58 -05:00
Kevin Brown
3b8a5d3660
Merge pull request #4730 from quantus/master
...
Add missing finnish translations
2016-12-30 11:44:28 -05:00
Derrick Hammer
45a8773454
Fix UMD commonjs support
...
This is based on the UMDJS jQuery template available at
95563fd6b4/templates/jqueryPlugin.js
This closes https://github.com/select2/select2/issues/4557 .
This closes https://github.com/select2/select2/pull/4558 .
2016-12-29 19:40:09 -05:00
Mike Dearman
16b4840c0e
Support selecting options with falsy values
...
Previously you could not select an option which had the number 0
as its value, because there was a check which would detect it as
an option without a value. There was a similar issue with selecting
options which had a blank string as the value.
This closes https://github.com/select2/select2/issues/4604 .
This closes https://github.com/select2/select2/issues/4516 .
This closes https://github.com/select2/select2/issues/3252 .
This closes https://github.com/select2/select2/issues/3519 .
This closes https://github.com/select2/select2/pull/4605 .
This closes https://github.com/select2/select2/pull/4517 .
2016-12-29 19:23:48 -05:00
Nimit Suwannagate
625fc78ee6
Add errorLoading translation of Thai language.
...
This closes https://github.com/select2/select2/pull/4521 .
2016-12-29 19:01:37 -05:00
Leandro Regueiro
f3788e2cda
Simplify Danish and Arabic translations
...
This closes https://github.com/select2/select2/pull/4547 .
2016-12-29 18:59:44 -05:00
Leandro Regueiro
8fcc6202c3
Update Galician translation
2016-12-29 18:59:15 -05:00
mitja-p
8e6422c570
Add Slovene translation
...
This closes https://github.com/select2/select2/pull/4576 .
2016-12-29 18:55:49 -05:00
niki7har
4df965219e
Update de.js
...
The german errorLoading message was missing.
This closes https://github.com/select2/select2/pull/4711 .
This closes https://github.com/select2/select2/pull/4591 .
2016-12-29 18:48:18 -05:00
Sági György
7d1d133523
i18n hu.js update. Added errorLoading property.
...
This closes https://github.com/select2/select2/pull/4724 .
2016-12-29 18:46:29 -05:00
Yaron Uliel
cb9a904578
Make tags matching case insensitive
...
This closes https://github.com/select2/select2/issues/3566
This closes https://github.com/select2/select2/pull/4509
2016-12-29 18:26:19 -05:00
Pekka Pöyry
124087ae2a
Add missing finnish translations
2016-12-22 15:03:12 +02:00
Nino Schoch
294e7e664d
Fixed form focus lost
2016-06-16 13:45:21 +02:00
Harry
7eab29e271
Added Greek (el) translation
...
Translated English (en) language file to Greek (el).
This closes https://github.com/select2/select2/pull/4139
This closes https://github.com/select2/select2/pull/4146
2016-05-26 20:36:22 -04:00
Kevin Brown
ea79a197e0
Select2 now detects added and removed options
...
Select2 will now automatically update the selection if there are options
added to or removed from the DOM within the `<select>` element. This is
supported in all browsers except for Internet Explorer 8. Internet
Explorer 8 does not support the DOM mutation events which were added in
Internet Explorer 9, and it does not support mutation observers which
are the recommended way of handling this in modern browsers.
DOM mutation events also trigger for the `<select>` itself when it is
pulled from the DOM, so we need to filter these out within the event
handler.
Despite supporting mutation observers, we cannot accurately detect if
the removed option was selected at one time or another, so we need to
always re-pull the selection when an element is deleted.
This closes https://github.com/select2/select2/issues/4248
This builds upon https://github.com/select2/select2/pull/4249
2016-05-23 23:31:17 -04:00
Kevin Brown
4b9e02f022
Corrected check for opening the dropdown
...
This corrects the check that was used when the dropdown was opened, so
the results would be immediately rendered instead of delaying the
loading. Previously it would delay the immediate load but immediately
load the results when the search term was emptied.
This closes https://github.com/select2/select2/issues/4191
This closes https://github.com/select2/select2/pull/4192
This closes https://github.com/select2/select2/pull/4202
2016-05-14 22:26:56 -04:00
Kevin Brown
481c43883e
selectOnClose now properly works with closeOnSelect
...
Previously we hacked around the infinite loop between closeOnSelect and
selectOnClose by attempting to detect what event was being triggered
without knowing what event triggered it. Now we properly relay the
Select2 event and the jQuery event that triggered the select or unselect
This closes https://github.com/select2/select2/issues/4012
2016-05-14 22:14:20 -04:00
Kevin Brown
ad8447cc35
Add a new _type parameter for the first event argument
...
This will include the event type in the _type property, so it can be
accessed within the event handlers if it's not normally passed in. This
should not conflict with any existing handlers, and this should not be
considered a public property on event arguments.
2016-05-14 22:01:42 -04:00
Kevin Brown
9f581285d8
Renamed focusFirstItem method
...
This renames the `focusFirstItem` method to `highlightFirstItem`, which
better reflects what is actually happening. This also ensures that the
highlight is visible when it is moved by calling
`ensureHighlightVisible`.
This closes https://github.com/select2/select2/issues/3479
This closes https://github.com/select2/select2/pull/4238
2016-05-14 21:05:14 -04:00
Alexander Leonov
e897d008a6
Fixed infinite scrolling issue using down key.
2016-05-14 21:04:31 -04:00
Nadim Afana
fba261c670
Fixed EOL to Unix format.
2016-05-06 14:54:13 -07:00
Nadim Afana
16e26310e1
Fixed more indentation issues.
2016-05-06 12:28:49 -07:00
Nadim Afana
6e9657105b
Fixed indentation.
2016-05-06 12:23:58 -07:00
Nadim Afana
a1dc7f23d1
Fixed unit tests and updated source code to handle HTML5 attribs.
2016-05-05 21:41:20 -07:00
Nadim Afana
95b1f8b409
Reverted a line in base.js regarding tab index.
2016-05-05 18:38:38 -07:00
Nadim Afana
76298267f9
Updated inputData.js
2016-05-05 18:12:51 -07:00
Nadim Afana
54e126a664
Fixed bug #4014
2016-05-05 15:38:31 -07:00
Damien Finck
b1ea28bb7d
Add missing French translation
2016-05-04 19:55:01 +02:00
Maarten Brouwers
89dcfef94b
linting fix for lt i18n file
2016-05-03 00:08:06 +02:00
Aurelijus Rožėnas
5b5eddd183
Fixed broken lithuanian translation
...
This closes https://github.com/select2/select2/issues/4301 .
Signed-off-by: Kevin Brown <kevin@kevin-brown.com>
2016-04-23 22:33:22 -04:00
Kevin Brown
31e7a1d4c5
Support the focus
event on the <select> element
...
This adds basic support for focusing the Select2 element by triggering
the `focus` event on the underlying <select> element. This implicitly
adds support for <label> elements, which will trigger the `focus` event
on the `<select>` if it is clicked.
This also fixes the focus issue that previously existed if Select2 was
opened while in a <label>. The focus would be transferred to the search
dropdown, and then immediately pulled away to the <select> element. This
happened because the <label> element triggers the `focus` event when a
`click` event propagates its way up, and we do not stop the propagation
of the `click` event when it is triggered on the selection.
This closes https://github.com/select2/select2/issues/2311 .
This closes https://github.com/select2/select2/issues/4203 .
This closes https://github.com/select2/select2/pull/4235 .
2016-04-23 19:58:04 -04:00
Ryan Cousart
ecdc416635
Fixing bug with non-static parents for dropdowns
...
The offset of the parent was only being subtracted if the dropdown was
facing down, this now subtracts it if the dropdown is facing up as well.
This more or less applies the same fix as
e260860789
,
but when calculating the position of the dropdown when it is facing up.
This closes https://github.com/select2/select2/issues/3303
This closes https://github.com/select2/select2/pull/4267
2016-04-17 16:58:01 -04:00
Kevin Brown
c099755012
Merge pull request #4246 from somethvictory/master
...
add Khmer translation
2016-04-14 17:54:48 -04:00