Kyle Fang
9130b6e0f1
Only show dropdown when input is focused
2014-01-16 20:34:54 +08:00
Kyle Fang
d75533ed31
Added Accurate Query match, only return matching suggestion
2013-12-18 14:58:53 +08:00
Albert Kwong
34a127d349
fire matched/mismatched only if there aren't any hint
...
If there are hints, the autocomplete event will fill in the blanks
2013-11-27 17:52:16 +08:00
Albert Kwong
ab4f15dba7
match first instead of match exactly 1
...
fire the matched event as long as there are at least 1 match. One bug
still exist: if user select from the dropdown view (not the first
item), the matched datum will be the first item.
2013-11-27 17:26:15 +08:00
Albert Kwong
3902c40bd0
Added 'matched' and 'mismatched' custom events on blur
2013-11-22 21:36:55 +08:00
Jake Harding
12181b50bc
Improve detecting of localStorage. Fixes #245 .
2013-05-29 00:02:18 -07:00
Jake Harding
11af3d5e64
Merge branch 'patch-1' of git://github.com/steswinbank/typeahead.js into pr-266
2013-05-28 23:26:31 -07:00
Jake Harding
41c5da665a
Use enclose option for uglify build.
2013-05-28 23:04:08 -07:00
chris
47df4c40a4
Reset boolean on close function, this fixes #242 and #259
...
- I have added a false boolean on close function. Basically this boolean is responsible for closing the dropdown or not via closeUnlessMouseIsOverDropdown function.
2013-05-28 22:46:53 -07:00
steswinbank
8c493d55f0
Update typeahead_view.js
...
Added 'tabKeyed' to trigger of _handleSelection as requested in https://github.com/twitter/typeahead.js/issues/258
2013-05-28 12:59:05 +02:00
Jake Harding
6b0f086fca
Modify #209 to work correctly with margins/paddings.
2013-04-24 23:23:46 -07:00
Jake Harding
1611f46d43
Merge branch 'feature/ensure-cursor-visible' of git://github.com/pokelabo/typeahead.js into integration-0.9.3
2013-04-24 23:08:07 -07:00
Jeffrey Miller
fcd67af601
Pass selected listener dataset name.
2013-04-22 22:15:25 -07:00
HANAI tohru
67529acb53
Ensure the cursor visible in the suggestions view.
...
The original implementation did not care about scrollable suggestions view.
But I needed it so I made this patch.
This implementation does not cache properties so it has room to be impromved. :)
2013-04-21 20:00:03 +09:00
Jake Harding
6e641d30d9
Clean up pull request.
2013-04-14 17:44:33 -07:00
Jake Harding
bb7b15eeb7
Merge branch 'wrapped-compile' of git://github.com/akre54/typeahead.js into integration-0.9.2
2013-04-14 17:35:38 -07:00
Billy Lamberta
5983e8fea1
Wrap localStorage check in try/catch.
2013-04-14 17:24:04 -07:00
Adam Krebs
0f4f747c77
only add wrapper after html compiled
2013-04-03 16:25:35 -04:00
Jake Harding
d0c7b32a84
Merge pull request #159 from jharding/28-set-query-api
...
Add setQuery plugin method
2013-03-30 21:42:07 -07:00
Jake Harding
21ec9135df
Merge pull request #157 from jharding/140-thumbprint
...
Add thumbprint prefetch option
2013-03-30 21:41:30 -07:00
Jake Harding
19eb54c130
Add thumbprint support.
2013-03-30 21:28:13 -07:00
Jake Harding
2069bd9693
Fix bug introduced by #137 .
2013-03-30 21:13:13 -07:00
Jake Harding
66baaf00e2
Add setQuery plugin method. Closes #28 .
2013-03-30 20:36:16 -07:00
Jake Harding
da624c5ff8
Merge branch '153-render-cached-remote-suggestions-immediately' of git://github.com/jharding/typeahead.js into integration-0.9.1
...
Conflicts:
src/dataset.js
2013-03-30 15:38:02 -07:00
Jake Harding
1c18506714
Merge pull request #131 from jharding/120-support-min-length-option
...
Add support for minLength option
2013-03-30 15:35:17 -07:00
Jake Harding
0064ad6e0e
Merge pull request #137 from jharding/125-support-template-functions
...
Support compiled templates
2013-03-30 15:32:48 -07:00
Jake Harding
215f46226a
Render cached remote suggestions immediately. Closes #153 .
2013-03-29 23:32:09 -07:00
Jake Harding
3a77aea667
Merge pull request #152 from jharding/94-improve-transport-logic
...
Improve transport logic (support batch requests)
2013-03-29 23:21:27 -07:00
Jake Harding
122cd923a1
Improve transport logic. Closes #94 and fixes #151 .
2013-03-29 08:40:40 -07:00
Jake Harding
626b7432eb
Add test for compiled template usage.
2013-03-29 08:35:06 -07:00
Jake Harding
982581b252
Merge branch 'patch-1' of git://github.com/koraktor/typeahead.js into integration-0.9.1
2013-03-27 23:18:44 -07:00
Sebastian Staudt
3fca5c4c43
Fixed typo in Dataset constructor
2013-03-26 16:20:16 +01:00
Jake Harding
447e91a79f
Don't throw an error if typeahead is initialized on 0 elements.
2013-03-25 21:20:36 -07:00
Jake Harding
b070975fc2
Merge branch 'functionTemplates' of git://github.com/NateLillich/typeahead.js into 125-support-template-functions
...
Conflicts:
src/js/typeahead.js
2013-03-25 21:04:58 -07:00
Jake Harding
85b2bc506b
Add typeahead:autocompleted.
2013-03-24 12:03:09 -07:00
Jake Harding
be7040b4a0
Add support for minLength option. Closes #120 .
2013-03-24 00:34:07 -07:00
Nate Lillich
433907ae84
Added support for functions as templates
2013-03-20 20:12:24 -07:00
Jake Harding
88b09b15f6
Fix remote bug introduced by #115 .
2013-03-15 17:23:02 -07:00
Jake Harding
6aa3da38a3
Merge branch '111-dont-cache-unnamed-datasets' of git://github.com/jharding/typeahead.js into integration-0.9.0
...
Conflicts:
test/dataset_spec.js
2013-03-14 21:56:31 -07:00
Jake Harding
eac8d3178e
Merge pull request #115 from jharding/61-configurable-value-key
...
Make value key configurable
2013-03-14 21:52:10 -07:00
Jake Harding
7f2aeead0a
Defer on triggering typeahead:initialized.
2013-03-13 23:35:49 -07:00
Jake Harding
66a39c1585
Make value key configurable and remove ranking code. Closes #61 .
2013-03-13 22:58:54 -07:00
Jake Harding
f808b047cd
Don't cache unnamed datasets. Fixes #111 .
2013-03-13 21:22:08 -07:00
Jake Harding
2da2670c24
Merge branch '68-trigger-custom-events' of git://github.com/jharding/typeahead.js into integration-0.9.0
...
Conflicts:
src/dataset.js
src/dropdown_view.js
test/dropdown_view_spec.js
test/playground.html
2013-03-13 18:50:10 -07:00
Jake Harding
6fcd112947
Merge pull request #112 from jharding/49-change-behavior-of-autocomplete
...
Change behavior of autocomplete
2013-03-13 18:45:28 -07:00
Jake Harding
7fd872dccb
Merge pull request #110 from jharding/dataset-refactor
...
Dataset refactoring
2013-03-13 10:05:28 -07:00
Jake Harding
101d81ce12
Hide headers and footers when the dataset contains no suggestions.
2013-03-13 09:04:10 -07:00
Jake Harding
56354bb4d0
Change behavior of autocomplete. Closes #49 .
2013-03-13 00:00:00 -07:00
Jake Harding
d789c4b2e8
Trigger typeahead:initialized.
2013-03-12 23:16:46 -07:00
Jake Harding
d425204ffc
Merge pull request #108 from jharding/107-fix-input-value-oddities
...
Fix some input value oddities
2013-03-12 22:26:49 -07:00