AutoCompleteBox's strange behavior in choosing same value on selection list

Sep 7, 2014 at 4:09 AM
Hi all,

Does anyone meet this issue that when the selection list of AutoCompleteBox has 2 entries with same value, everytime I choose the second one it will return the first one to me.

Let me give an example to illustrate. Here is the name list shown in AutoCompleteBox when I type 'A' in AutoCompleteBox

Alex
Alice
Alex

Properties of these 3 persons. The itemsource of AutoCompleteBox is an ObservableCollection<Person>

<Person> object with Name and Id properties.

Name Id
Alex 1
Alice 2
Alex 3

When I choose the first Alex or Alice, it returns me Id 1 and 2 as expected. However, When I choose the second Alex (3rd option), it still returns me Id 1.

I am confused why it always return the first Alex even I chose the second Alex. Any forks know it is a bug or AutoCompleteBox does not allow selection list have 2 options with the same value ?

Thanks very much.
Jan 30, 2015 at 5:50 PM
Hi there,
I am experiencing the same issue. How did you resolve this issue?

Thanks
KS
Mar 7, 2015 at 4:43 AM
Hi KS,

Just come across your query now. Have you found a solution via the internet ?