Mark McEver
c08a31dd78
Fixed a bug where the suggestion list briefly flashes when the selected suggestion is a prefix of another suggestion. Prior to this fix, the problem can be reproduced as follows:
...
1. Open the index.html demo (this url is convenient: https://rawgit.com/devbridge/jQuery-Autocomplete/master/index.htm )
2. In the country name field type "N" then select "Niger" from the list (this country is a prefix for "Nigeria").
3. Click the country name field again. The suggestion list will flash briefly then dissappear. The user must then click off of the field and back onto it to actually see the suggestion list.
2016-11-03 15:21:33 -05:00
Tomas Kirda
017965bddd
Merge pull request #547 from rushimusmaximus/patch-1
...
fixed typo in "comma"
2016-10-24 13:05:57 -05:00
Michael Rush
3fc25f5886
fixed typo in "comma"
2016-10-24 10:14:54 -07:00
Tomas Kirda
8d18bdadba
Rev for 1.2.26 release
2016-07-28 15:52:45 -05:00
Tomas Kirda
25de88ee6b
No need to restore value when preserveInput is set to true, fixes #521
2016-07-28 15:50:35 -05:00
Tomas Kirda
0068bf02ed
Merge pull request #520 from swey/pr
...
switched to box-sizing border-box and removed the expected 1px border…
2016-07-27 09:04:45 -05:00
Sebastian Weyrauch
b42125f9fe
reverted package.json to the one of main repository
2016-07-27 07:55:36 +02:00
Sebastian Weyrauch
2c81daeb01
set all widths with .css(), not with .width()
2016-07-27 07:52:54 +02:00
Sebastian Weyrauch
d9c4dd622c
also changed the width calculation in adjustContainerWidth
2016-07-27 07:38:07 +02:00
Sebastian Weyrauch
3b4d260c17
adjusted the package.json for usage from this forked repository
2016-07-27 07:30:19 +02:00
Sebastian Weyrauch
8e9be831ee
adjusted the package.json for usage from this forked repository
2016-07-27 07:22:42 +02:00
Sebastian Weyrauch
69d2f1a78d
switched to box-sizing border-box and removed the expected 1px border from the width calculation in javascript
2016-07-27 07:04:17 +02:00
Tomas Kirda
3b49827db4
Merge pull request #512 from stonio/patch-3
...
Update npm devDependencies
2016-07-14 14:14:13 -05:00
stonio
575f785fec
package.json - main dist/jquery.autocomplete.js
...
Restore "dist/jquery.autocomplete.js" as main package file.
2016-07-07 18:23:56 +02:00
stonio
8b438fe932
Update npm devDependencies
2016-07-07 11:09:52 +02:00
Tomas Kirda
41043437c0
Merge pull request #511 from stonio/patch-5
...
JS - Replace 'foo.length === 0' by '!foo.length'
2016-07-06 16:24:44 -05:00
stonio
b09eab6629
JS - Replace 'foo.length === 0' by '!foo.length'
...
Saving few bytes by replacing 'foo.length === 0' by '!foo.length' in JavaScript code
2016-07-06 16:53:00 +02:00
Tomas Kirda
56c352ab01
Merge pull request #509 from stonio/patch-3
...
Reduce JSLint Warnings
2016-07-06 09:12:37 -05:00
Tomas Kirda
264198f171
Merge pull request #510 from stonio/patch-4
...
Shorter RegEx in escapeRegExChars
2016-07-06 09:10:24 -05:00
stonio
22e8d7b1a5
Shorter regex in escapeRegExChars
...
Removed unnecessary backslash characters.
Slash character is not a regex special character and does not need to be escaped.
2016-07-06 15:06:21 +02:00
stonio
1d733050d4
Reduce JSLint warnings
...
Tested with http://www.jslint.com
2016-07-06 12:13:27 +02:00
Tomas Kirda
b45b4b1489
Merge pull request #503 from stonio/patch-3
...
Typo - readme.md
2016-06-22 10:45:43 -05:00
Tomas Kirda
20ea72a491
Merge pull request #501 from orchestra-ts/master
...
Fix the TypeScript description
2016-06-22 09:06:07 -05:00
stonio
ae88f5b72f
Typo - readme.md
2016-06-22 14:45:24 +02:00
Gouigouix
1481000059
Fix groupBy test value.
2016-06-22 14:06:18 +02:00
Gouigouix
6a7bc22b92
Fix lookup and groupBy type and merge jQuery interface.
2016-06-22 14:03:53 +02:00
Tomas Kirda
aca7cb97e8
Merge pull request #500 from stonio/patch-2
...
Use Jquery noop function
2016-06-21 12:10:09 -05:00
stonio
4e63cf82cf
Use Jquery noop function
...
Use jQuery noop function to be consistent with other functions.
2016-06-21 16:25:16 +02:00
Tomas Kirda
a1407c4053
Merge pull request #496 from stonio/master
...
Bump project version in jquery.autocomplete.d.ts
2016-06-16 10:48:49 -05:00
stonio
40b6c9dbb9
Bump project version in jquery.autocomplete.d.ts
2016-06-16 11:47:30 +02:00
Tomas Kirda
520f5aa71e
Merge pull request #494 from stonio/patch-1
...
Add plugin alias in jquery.autocomplete.d.ts
2016-06-15 20:01:44 -05:00
stonio
5c0cce6ad1
Add plugin alias in jquery.autocomplete.d.ts
...
Add plugin alias "devbridgeAutocomplete" in TypeScript definition file jquery.autocomplete.d.ts
2016-06-15 15:27:48 +02:00
Tomas Kirda
95a329d80d
Rev for 1.2.25 release
2016-06-14 16:17:00 -05:00
Tomas Kirda
3f53453499
Adding suggestions data variable to beforeRenderer callback, fixes #489
2016-06-14 16:16:07 -05:00
Tomas Kirda
114cb482eb
Merge pull request #491 from Rickycezar/patch-1
...
Updating beforeRender documentation
2016-06-08 14:55:10 -05:00
Rickycezar
fadeea0985
Updating beforeRenderer documentation
2016-06-08 05:59:15 -03:00
Tomas Kirda
3433e82b6a
Merge pull request #489 from Rickycezar/master
...
Adding suggestions data variable to beforeRenderer callback.
2016-06-07 11:51:50 -05:00
Rickycezar
41b71971db
Adding suggestions data variable to beforeRenderer callback.
2016-06-06 15:05:22 -03:00
Tomas Kirda
615fd80030
Pass result index to formatResult callback, resolves #485
2016-05-30 12:39:47 -05:00
Tomas Kirda
65f431b7b0
Merge pull request #479 from orchestra-ts/master
...
Update typings definition file for TypeScript.
2016-05-19 09:03:13 -05:00
Gouigouix
7bf1127bc8
Update typings definition file for TypeScript.
2016-05-19 15:26:29 +02:00
Tomas Kirda
2965a0d916
Update readme
2016-04-20 08:59:35 -05:00
Tomas Kirda
c4d42b7e68
Merge pull request #188 from markus-k/master
...
Return false in click handler to prevent default behaviour.
2016-04-14 08:18:32 -05:00
Tomas Kirda
e572acf56f
Do not try to highlight suggestion if current value is empty, resolves #434
...
Prevents inserting strong tag after each character when input value is empty.
2015-11-01 19:25:25 -06:00
Tomas Kirda
fef68b6e4c
Show autocomplete when input gets focus, fixes #319 , #391
...
Triggers autocomplete lookup if value is greater than minChars.
2015-11-01 19:16:18 -06:00
Tomas Kirda
dfbca90052
Rev for 1.2.24 release
2015-09-16 10:49:49 -05:00
Tomas Kirda
082248691f
Only restore currentValue if suggestions are visible, fixes #408
2015-09-16 10:48:20 -05:00
Tomas Kirda
d2cd54a2d8
Rev for 1.2.23 release
2015-09-07 12:45:45 -05:00
Tomas Kirda
cf43df5bd1
Restore original input value when clicking away without making selection, fixes #408
2015-09-07 12:42:15 -05:00
Tomas Kirda
2c8058a15e
Add json to supported data type list, fixes #401
2015-08-21 09:52:39 -05:00