resultsHighlight bug, resultField improve, scrollable result list

bigmartin's Avatar

bigmartin

08 Nov, 2010 02:05 PM

Hello
First of all, thank you for great autosuggest jquery plugin.

1) I found one bug in your autosuggest plugin:
resultsHighlight is currently highlighting selectedItemProp, BUT it should highlight searchObjProps (comma separated list of properties to perform the search on)

2) I also have one suggestion to improve your autosuggest plugin:
My framework (JSF) do not allow submiting inputs generated by plain javascript (it supports only inputs with special IDs which corresponds to the server side objects).
So I have my own hidden input field for autosuggest results, and before submitting I take results from autossugest hidden input field and put them to my hidden input.
It would be fine if your autosuggest plugin will support one of these functionalities:

a) method for getting results from autosuggest:
    autosuggest.getResults()

b) define own hidden input field:
   $("#myAutosuggestPlaceholder").autoSuggest(someUrl, {
       resultField: $("#myOwnResultField")
   });

personally I prefer solution b)

3) It would be fine if your plugin will support scrollable result list.

Thank you
Martin Sznapka

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac