Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Autocomplete doesn't always start from the top of the list...
posted

This is strange but I have an ultracombo set to suggestappend.  The dataset I have set as the datasource has four columns: number, name, phone, and display.  The phone and display columns are set to hidden.  The value member is set to number and the display member is set to display.  The list contains the following:

Number, Name, Phone, Display

0, None, "", 0 None

1, Joe, 123-123-1234, 1 - Joe

2, Jim, 845-456-4567, 2 - Jim

10, Jack, 994-445-3333, 10 - Jack.

 

When the user enters the combo box and types 2, it correctly suggests and appends the display for item 2.  If they then leave the field and come back and type 1, rather than suggesting and appending the item for 1, it suggests and appends the row for item 10.  However, if they enter 0, and then leave the field come back and then enter 1, the suggested and appended display is correctly row 1.

Parents
No Data
Reply
  • 69832
    Offline posted

    I could not reproduce the behavior you describe here with a simple test. After executing the following steps to reproduce, I observed the expected behavior:

    1. Focus control and type "2"; text changes to "2 - Jim", all text except that which was typed is selected, dropdown shows third row.
    2. Leave the control
    3. Focus control and type "1"; text changes to "1 - Joe", all text except that which was typed is selected, dropdown shows second and fourth rows.

    It is possible that the behavior you observed is attributable to a bug that has been fixed since the version you are using was built, in which case you should download the latest.

Children