1
0
mirror of synced 2024-11-30 00:26:03 +03:00
Commit Graph

814 Commits

Author SHA1 Message Date
Mike S
06130ffc12 Added setSearch method 2013-06-04 10:04:13 -07:00
Igor Vaynberg
30dac9a40b export default escapeMarkup function so it can be easily accessed. #1222 2013-06-04 08:42:46 -07:00
Igor Vaynberg
4e7a8b00fc a tweak to prevent clicks propagating through the mask on IE9. #1058 2013-06-04 08:33:02 -07:00
Igor Vaynberg
8904e42ef9 correctly handle undefined placeholders. tweak to issue #1365 2013-06-03 12:12:46 -07:00
Igor Vaynberg
def8adca7c cleaner way to detect older IE 2013-06-03 11:19:00 -07:00
Igor Vaynberg
5d8f03c90b clarify syntax. fixes #1358 2013-06-03 10:02:19 -07:00
Igor Vaynberg
d08d9ff18c Revert "add title for choice item"
This reverts commit 79228ce1e0.
2013-06-03 09:55:52 -07:00
Igor Vaynberg
a4a3eedd51 component stays open after clicking on a native select in IE. fixes #1356 2013-05-31 17:57:21 -07:00
Igor Vaynberg
efc609d073 close on tab-out. fixes #1341 2013-05-31 17:14:29 -07:00
Igor Vaynberg
cb7b5464a1 only validate initSelection is present on val() if we are not clearing 2013-05-31 15:29:14 -07:00
Igor Vaynberg
9a3666edb5 Merge pull request #1365 from corinnaerin/master
Feature: Allow placeholders with nonempty values
2013-05-31 15:12:32 -07:00
Igor Vaynberg
fcd7da798b Merge pull request #1370 from jeffturcotte/master
Ability to get dropdown element
2013-05-31 11:58:33 -07:00
Jeff Turcotte
ae71175dbe Added ability to get the dropdown element 2013-05-31 12:17:15 -04:00
Corinna Schmidt
50cbd3927c new placeholderOption option
added ability to specify an option through a function or the shortcut
"first" which will be used as the placeholder option. If no placeholder
text is specified, then the text of this option will be used as the
placeholder text.
2013-05-30 13:41:08 -04:00
Ahmed Medhat Othman
75a062fc0f Adding Arabic locale file
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2013-05-28 13:29:22 -07:00
Igor Vaynberg
ae2f61ef12 Merge pull request #1351 from alexhaas/patch-1
Fixing inline width declaration when this.opts.width is set to "copy"
2013-05-28 13:15:54 -07:00
Igor Vaynberg
812b28c173 Merge pull request #1350 from lollypopgr/master
Added Greek Language translation
2013-05-28 12:44:47 -07:00
Igor Vaynberg
6858742e16 improve focus handling on mobiles. fixes #1344 2013-05-28 12:32:36 -07:00
alexhaas
0fc90ec95a Update select2.js
Fixing a container width problem that was caused by an inline width declaration when this.opts.width is set to "copy" (the default).
2013-05-27 15:13:09 -03:00
George Drakakis
e1c336578c UTF8 without DOM file 2013-05-27 20:23:10 +03:00
George Drakakis
5912a188de Added Greek translation 2013-05-27 20:20:46 +03:00
Igor Vaynberg
87e62004f6 remove unnecessary code 2013-05-22 23:40:26 -07:00
Igor Vaynberg
f1a5fe2c9e remove dupe format no matches messages. fixes #1341 2013-05-22 23:38:39 -07:00
Igor Vaynberg
213d281ece fix first char being lost. fixes #196 2013-05-22 22:14:42 -07:00
Igor Vaynberg
207139bc12 Merge pull request #1335 from rajeshmeniya/patch-1
Create select2_locale_fi.js
2013-05-21 08:49:10 -07:00
Igor Vaynberg
78e686c23b Merge pull request #1336 from igaidai4uk/patch-1
Remove duplication of "No matches found" message
2013-05-21 08:37:39 -07:00
Igor G.
dae97ffc83 Remove duplication of "No matches found" message
In case if data is fetched in chunks, not at once, "No matches found" message is shown as many times as we requested for it.
Lets say we have 15 items, and data is fetched 5 at a time. After all items are selected, "No matches found" message would be duplicated 3 times.
2013-05-21 17:20:24 +03:00
Rajesh Meniya
ca446422d8 Create select2_locale_fi.js
Finnish translations
2013-05-21 17:32:21 +05:30
Igor Vaynberg
79a0f1de4f Merge pull request #1331 from execjosh/japanese-translation
Shorten Japanese translation for `formatNoMatches`
2013-05-20 08:50:48 -07:00
execjosh
2ac008c483 Shorten Japanese translation for formatNoMatches 2013-05-21 00:44:38 +09:00
Igor Vaynberg
02f3ede201 Merge pull request #1330 from execjosh/sync-translation-template-with-source
Sync translation template with source
2013-05-20 08:02:55 -07:00
execjosh
b0ffea89a6 Sync translation template with source
This change syncs the translation template with the actual string
used for `$.fn.select2.defaults.formatInputTooLong`.

The source was changed by 5193dc40b9.
2013-05-20 23:00:54 +09:00
Igor Vaynberg
70f1b29882 optimize mousemove listener. fixes #1328 2013-05-17 08:14:09 -07:00
Igor Vaynberg
38f6b2bd71 Merge pull request #1320 from jamesramsay/selected-css-class
Added support for css class for selected elements
2013-05-16 21:50:35 -07:00
James Ramsay
856dc0b526 Added support for css class for selected elements 2013-05-17 09:11:58 +10:00
Igor Vaynberg
06440a6bf8 MultiSelect JavaScript error - no method 'showSearch'. fixes #1311 2013-05-14 15:17:24 -07:00
Igor Vaynberg
de6d90c079 fix typo. fixes #1310 2013-05-14 14:05:33 -07:00
Igor Vaynberg
3b5b84fc99 Update README.md 2013-05-14 09:52:42 -06:00
Igor Vaynberg
95d3728b77 modified version identifiers in descriptors for release 3.4.0 2013-05-14 08:27:33 -07:00
Igor Vaynberg
2764752a94 Merge pull request #1306 from julen/no-bom
Removed BOM.
2013-05-14 08:14:14 -07:00
Julen Ruiz Aizpuru
66e06acde8 Removed BOM. 2013-05-14 11:41:31 +02:00
Igor Vaynberg
a345599807 Merge pull request #1299 from olragon/master
Create select2_locale_vi.js Vietnamese translation
2013-05-13 09:06:56 -07:00
Igor Vaynberg
6b357a9fe8 Merge pull request #1298 from dirkpostma/patch-1
Turn off autocorrect and autocapitilze
2013-05-13 09:05:55 -07:00
Long Nguyen
af81daf7bb Create select2_locale_vi.js Vietnamese translation 2013-05-13 13:03:42 +07:00
dirkpostma
f235a84aa8 Turn off autocorrect and autocapitilze
On e.g. mobile devices, it's more user friendly to turn off autocorrect in input fields. This patch adds the attributes autocorrect, autocapitilize and spellcheck. See also:

http://davidwalsh.name/disable-autocorrect
2013-05-12 21:06:16 +03:00
Igor Vaynberg
fa8d260114 Merge pull request #1292 from dshoulders/patch-1
Create select2_locale_is.js
2013-05-10 08:17:48 -07:00
dshoulders
834601e70b Create select2_locale_is.js
Icelandic translation
2013-05-10 16:27:37 +02:00
Igor Vaynberg
4e1873fb9d set maxlength on search when maximumInputLength is defined. closes #538 2013-05-10 00:43:30 -07:00
Igor Vaynberg
26751cb157 small css tweak. #929 2013-05-10 00:34:49 -07:00
Igor Vaynberg
828d7a5052 better way to remove outlines 2013-05-09 21:21:37 -07:00