Monday, January 25, 2010

[jQuery] Bug in autocomplete plugin

Hi
I am using auto-complete plugin with options
{
url:'http://localhost:8080/sdfsdfsd.html',
minChars:0"
//other relevent options.
}

I need to list out all options even when user does not enter any
value.
Ajax call is successfully done when I press "Down Arrow" or " Right
Arrow" button and
a) i am able to navigate up/down by arrow keys and select by hitting
"Enter/Return" key.
b) But If I select the same using mouse, the value is selected and
immediately reset to blank.

Is this an intended behavior or a bug..pls clarify.

PS: My configuration is working fine if I change the minChars to 1 or
above.

No comments: