Commit Graph

125 Commits

Author SHA1 Message Date
Scott González
602576707e Autocomplete: search against label instead of value when both are provided.
Fixes #5237 - Array matching behaviour of autocomplete should match on label before value.

Thanks Simon Cusack.
2010-02-27 19:57:34 +00:00
Scott González
aa8f6c5fc1 Autocomplete: Fixed class removal in .destroy(). 2010-02-23 02:59:05 +00:00
Scott González
b26336f2d2 Autocomplete: Reposition menu every time it opens.
Fixes #5217 - Autocomplete in Dialog is posiitoned incorrectly in 1.8 RC2.
2010-02-23 02:57:33 +00:00
Scott González
8185ba0207 Autocomplete: Added a "ui-autocomplete-input" class to the text field.
Fixes #5198 - Autocomplete: class needed on input element.
2010-02-20 01:38:30 +00:00
Scott González
0292c347bb Autocomplete: Deactivate menu on close.
Fixes #5205 - Autocomplete: blur causes last active menu item to be selected.
2010-02-20 01:32:55 +00:00
Scott González
071dc670b7 Autocomplete: Fixed bug with bgiframe usage.
Fixes #5196 - Autocomplete: "menu is not defined" error when using with bgiframe.

Thanks Demphest
2010-02-18 01:23:45 +00:00
Jörn Zaefferer
8c1f4da31a Another partial fix for #5188 - add ui-menu-item class only to list items with anchor-children 2010-02-16 16:34:06 +00:00
Jörn Zaefferer
4f4715017d Fix for #5188 along with a half-functional demo (buggy keyboard navigation) 2010-02-16 16:20:05 +00:00
Scott González
0f3def0d84 Fixed missing variable in menu's refresh method. 2010-02-12 21:17:00 +00:00
Jörn Zaefferer
84f7c90fc8 Autocomplete: Fix for #5154 - cleanup 2010-02-10 15:09:19 +00:00
Jörn Zaefferer
4cea3290a1 Autocomplete: Fix for #5154 2010-02-10 15:08:27 +00:00
Jörn Zaefferer
3875cd33b7 Autocomplete: Fix for #5154 2010-02-10 15:05:35 +00:00
Scott González
925bf9ec35 Autocomplete: Split out logic for rendering individual items. 2010-02-08 01:31:10 +00:00
Scott González
1402650134 Autocomplete: Fixed a few places that got missed during the change to always keep the menu element around.
Fixes a bug where opening the menu using the arrow keys would cycle through the options, but not show the menu. There's now a bug where you have to arrow too many times to get into the menu when showing the menu by using the arrow keys.
2010-02-08 01:17:04 +00:00
Jörn Zaefferer
7321aa017d cleaning up dependency listings 2010-02-03 23:30:37 +00:00
Jörn Zaefferer
30578eb028 create-html-elements convention 2010-02-02 14:22:04 +00:00
Jörn Zaefferer
df391a998f Fix for #5120 - create menu only once and return that element from the widget method, put ui-autocomplete class on menu 2010-02-02 14:04:50 +00:00
Scott González
a4daa10f53 Autocomplete: Turned off collision detection.
Fixes #5114 - Autocomplete: Turn off collision detection for menu.
2010-01-30 16:38:51 +00:00
Scott González
c802347799 Autocomplete: Removed CSS framework classes from text field. We can add them back in when we have full support for form elements. 2010-01-28 04:25:30 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Scott González
b3e5f8453c Autocomplete: conform to coding standards. 2010-01-17 18:51:11 +00:00
Scott González
94085e0b4c Autocomplete: Use bgiframe on the menu if it's available. 2010-01-17 18:41:14 +00:00
Scott González
f49d91289d Autocomplete: Set the z-index of the menu to be above the text field. 2010-01-17 18:35:54 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
6024fdf256 Copied autocomplete from dev branch. 2010-01-14 17:23:11 +00:00