Hello,
I use the AutoCompleteBox in my project to check if a string already exists in the database and display the already existing items to the user.
My problem is that a user types in the AutoCompleteBox and as soon as the result list pops up the first item in this list is automatically selected. If the user now presses tab or return or clicks into a different area if the screen, the selected entry in the result list is automatically selected and replaces the string entered by the user. This is very annoying if the user tries to enter a string which is only a part of an already existing string but not the same.
In my example the database contains the following strings: 000100, 000110, 000200, 000210
Now the user wants to add a new item 0001. This is not possible because as soon as the user has entered 0001 the AutoCompleteBox displays a list containing 000100 and 000110 and it automatically selects the first item in that list.
It is possible to get rid of that autoselection by pressing the up arrow key or explicitly moving the mouse out of the dropdown list - but from a usability point of view this is not acceptable. It would be very helpful if I could tell the AutoCompleteBox to avoid the automatic selection in such cases.
Does anyone know a way to get around this issue?
Best regards,
Markus
I use the AutoCompleteBox in my project to check if a string already exists in the database and display the already existing items to the user.
My problem is that a user types in the AutoCompleteBox and as soon as the result list pops up the first item in this list is automatically selected. If the user now presses tab or return or clicks into a different area if the screen, the selected entry in the result list is automatically selected and replaces the string entered by the user. This is very annoying if the user tries to enter a string which is only a part of an already existing string but not the same.
In my example the database contains the following strings: 000100, 000110, 000200, 000210
Now the user wants to add a new item 0001. This is not possible because as soon as the user has entered 0001 the AutoCompleteBox displays a list containing 000100 and 000110 and it automatically selects the first item in that list.
It is possible to get rid of that autoselection by pressing the up arrow key or explicitly moving the mouse out of the dropdown list - but from a usability point of view this is not acceptable. It would be very helpful if I could tell the AutoCompleteBox to avoid the automatic selection in such cases.
Does anyone know a way to get around this issue?
Best regards,
Markus