dyve/jquery-autocomplete — Issue #12: Using the displayValue function in autofill
Author: calo81
Created: 2012-02-12 12:45:48+00:00
State: open

Hi,
I think that if you want the autocomplete activated, it should autocomplete with the same value as you get from the displayValue function.

I just did it in my own project updating the line "this.dom.$elem.val(value);" in the autofill function to "this.dom.$elem.val(this.displayValue(value,filter));"

This way the autofill option shows the values in the textbox formatted the same way as when you click on an option.

Regards