Commit Graph

79 Commits

Author SHA1 Message Date
Scott González
401c91418c Autocomplete (combobox demo): Blur the button on click to avoid a bug.
Thanks tyron.
2011-04-04 08:54:09 -04:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
jzaefferer
260a6447d3 Autocomplete: Update combobox menu to point out limits and link to
explaining it.
2011-02-25 23:09:58 +01:00
Scott González
723e0d6b6e Autocomplete demo (combobox): Fixed tooltips and clearing of select on invalid entry. 2011-01-10 22:47:30 -05:00
gnarf
51482a9d65 Demos: PHP Strict mode compliance and use parse_json() for JSON encoding. Fixes #5124 - Ensure all PHP scripts for demos/tests properly escape/filter input data. 2011-01-10 20:20:14 -05:00
jzaefferer
74ddb3061e Cleanup bad earlier merge. 2010-12-28 15:31:14 +01:00
jzaefferer
0479ab6af6 Merge remote branch 'origin/tooltip'
Conflicts:
	demos/autocomplete/combobox.html
	demos/index.html
	tests/unit/index.html
2010-12-22 18:58:57 +01:00
jzaefferer
3552947c19 Merge remote branch 'origin/menu'
Conflicts:
	demos/autocomplete/categories.html
	demos/autocomplete/combobox.html
	demos/autocomplete/custom-data.html
	demos/autocomplete/default.html
	demos/autocomplete/folding.html
	demos/autocomplete/multiple-remote.html
	demos/autocomplete/multiple.html
	demos/autocomplete/remote-jsonp.html
	demos/autocomplete/remote-with-cache.html
	demos/autocomplete/remote.html
	demos/autocomplete/xml.html
	demos/button/splitbutton.html
	demos/index.html
	tests/visual/menu/nested.html
	themes/base/jquery.ui.autocomplete.css
	ui/jquery.ui.autocomplete.js
2010-12-22 18:31:27 +01:00
Mario Visic
cf48a3c5c8 Autocomplete (Combobox demo): Set the button type to button to prevent form submission. Fixes #6755 - Autocomplete: The combobox "show all" button submits forms. 2010-12-16 07:59:37 -05:00
Scott González
ddb4694cc1 Autocomplete combobox demo: Reset the internal term property when an invalid selection is made. Fixes #6695 - Autocomplete combobox example does not show suggestion on second try. 2010-11-30 17:55:29 -05:00
Scott González
d97add11b0 Combobox: Added a destroy method. Fixes #6685 - Combobox: Doesn't handle destroy. 2010-11-23 08:22:40 -05:00
Scott González
ddf59462af Autocomplete: Use the text of the option, not the value when checking for valid values. Fixes #6673 - Autocomplete combobox is not working in IE if value and name is different. 2010-11-19 16:28:02 -05:00
Scott González
4637695894 Autocomplete multiple demos: Don't leave the field when tabbing while the menu is open. Fixes #6661 - Autocomplete: Tab on multiple Autocomplete should not change focus after selecting. 2010-11-19 16:17:52 -05:00
Phillip Barnes
ff4154bb5d Lossless compression of all non-theme images using ImageOptim 2010-11-19 14:27:18 -05:00
Scott González
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -05:00
Scott González
53215ded4a Autocomplete (maxheight demo): Add padding to account for vertical scrollbar. Fixes #6250 - Autocomplete: horizontal scrollbar on IE7. 2010-11-04 08:36:09 -04:00
Scott González
5431a4553a Autocomplete: Prevent horizontal scrollbars in maxheight demo. Fixes #6250 - Autocomplete: horizontal scrollbar on IE7. 2010-11-02 13:51:29 -04:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
Scott González
eba3067479 Demos: Cleanup. 2010-09-09 22:33:28 -04:00
Scott González
df932bbba3 Autocomplete demos: Coding standards. 2010-09-09 22:33:28 -04:00
jzaefferer
1b4019a233 Autocomplete: Combobox demo cleanup 2010-08-29 11:31:03 +02:00
Scott González
4400632f53 Autocomplete: Improved cache demo. 2010-08-27 12:47:19 -04:00
Scott González
860635fd17 Autocomplete: Removed selection handling in IE. No longer needed now that autocomplete ensures that the cursor is placed at the end of the field on select. 2010-07-22 14:55:41 -04:00
Scott González
123467af8e Autocomplete (combobox demo): Set intial value of text field based on value of select element. Partial fix for #5757 - Autocomplete combobox issues. 2010-07-20 14:49:14 -04:00
Scott González
5d1e297640 Autocomplete (combobox demo): Detect valid entries when typed, but not selected from menu. Fixes #5605 - Autocomplete combobox demo does not accept valid values. 2010-07-20 14:35:54 -04:00
Scott González
ba091650ff Autcomplete: Refactored combobox demo. 2010-07-20 14:20:46 -04:00
Scott González
c2c09e8953 Autocomplete: Clear selectedItem property whenever the user types something. Also updated combobox to clear the select element when clearing the text element. Fixes #5453 - Autocomplete: combobox demo doesn't remove invalid values. 2010-07-20 13:24:53 -04:00
Scott González
5debdb08d7 Autocomplete: Added link to accent folding demo. Fixes #5219 - Autocomplete: Support for accent-folding. 2010-07-19 21:53:19 -04:00
Scott González
1f2cfb942f Autocomplete: Render items as text, not HTML. Fixes #5275 - suggestions are not html-encoded.
As noted in the ticket, it's probably better to default to unstyled items to prevent problems. Users can still implement their own rendering method as shown in the custom data and display demo.
2010-07-19 15:45:30 -04:00
Scott González
7deb873c51 Autocompelte demos: Renamed the scrollable demo so the title fits on one line in the sidebar. 2010-07-19 15:35:47 -04:00
Scott González
5e3755af8a Autocomplete: Added demo of scrollable results. Fixes #5815 - Autocomplete: document and demo a scrolling menu. 2010-07-19 14:17:44 -04:00
Scott González
44daca1cfa Autocomplete demos: Added more programming languages and alphabetized. 2010-07-19 14:10:37 -04:00
Scott González
44d1a38a19 Autocomplete: Moved all demo images into /demos/autocomplete/images. 2010-07-19 10:06:07 -04:00
Scott González
fe71d5d0a0 Autocomplete: Removed styling for .ui-autocomplete-loading from the theme - added to individual demos. Fixes #5385 - Autocomplete: Inconsistent default styling while loading results.
We will need to undo this change when ThemeRoller supports generating loading images.
2010-07-19 09:41:21 -04:00
jzaefferer
965dddd981 Autocomplete: Update cursor position in multiple demos in IE. Fixes #5761 - Autocomplete: multiple demos need extra IE handling for cursor position 2010-06-23 16:44:11 +02:00
Scott González
e087e7dee0 Autocomplete: Changed cache demo to cache all results.
Fixes #5398 - Remote-with-cache demo does not break if (cache.term == request.term) but executes another request.
2010-04-23 12:19:06 -04:00
jzaefferer
17f8079bc2 Menu: Extracted menu code from autocomplete, updated all dependencies 2010-04-21 21:01:08 +02:00
jzaefferer
cfa185d962 Merge commit '1.8.1' into tooltip 2010-04-21 20:06:56 +02:00
Scott González
6a59746d1d Autocomplete: Added demo for accent folding.
Proof of concept for #5219 - Autocomplete: Support for accent-folding.
2010-04-21 10:02:53 -04:00
Scott González
32bcf56584 Autocomplete: Added custom rendering for custom data demo. 2010-04-21 09:57:35 -04:00
jzaefferer
d1033cc2b7 Autocomplete: Fixed href to multiple-remote dmeo in index 2010-04-16 11:09:28 +02:00
jzaefferer
dbc9addfae Autocomplete: Refactored code for array filtering into $.ui.autocomplete.filter, used by remote-with-cache and modified multiple-demo (now with local data); added multiple-remote to also show multiple with remote data 2010-04-16 11:05:35 +02:00
jzaefferer
cddf2a45da Autocomplete: code improvements for multiple demo 2010-04-15 15:31:49 +02:00
jzaefferer
5c55462a90 Autocomplete: multiple demo added 2010-04-15 10:43:47 +02:00
jzaefferer
e7882fa393 Use tooltip to display hint when combobox input doesn't match anything 2010-04-08 23:41:49 +02:00
jzaefferer
ffc29bba05 Autocomplete: Combobox demo update, fixed mustMatch with corrected change event, also added button for toggling the hidden select and an empty-value option. Fixes #5453 2010-04-08 12:07:45 +02:00
unknown
34a71eab7b Autocomplete: Change demo title in index.file to fit it in one line 2010-04-06 22:42:14 +02:00
Jörn Zaefferer
1c3ea9b911 Added link to categories-demo to autocomplete demos index. Still need to move the menu-overrides from that demo back to menu (is there a ticket?). 2010-04-05 11:07:55 -07:00
jzaefferer
56a3d4cbff Autocomplete: Use $.ui.autocomplete.escapeRegex in combobox demo; Fixes #5436 Autocomplete: use $.ui.autocomplete.escapeRegex in combox demo 2010-03-26 10:59:34 -04:00
Scott González
b4729e5512 Autocomplete demo: Removed todo (already captured in trac). 2010-03-24 13:24:19 -04:00