Hello.
I have this autocomplete mvvm implementation using prism library:
<syncfusion:AutoComplete Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" Source="Custom" IsFilter="True"
CustomSource="{Binding Path=Occupations}"
SelectedValue="{Binding Path=Contact.OccupationId}"
SelectionMode="Single" SelectedValueChanged="AutoComplete_OnSelectedValueChanged"
DisplayMemberPath="Name" SelectedValuePath="Id">
So i double click a record on a datagrid and then comes the contact edit view that this control lives.
The problem is that the selected value is not correct. For example for an occupation with id 12 it selects an occupation with id 14.
The strange thing is that by adding some breakpoints in code, eg on viewmodel's contructor, it selects the correct value.
Also noticed, on AutoComplete_OnSelectedValueChanged, that the NewValue, during the loading is getting, several times, the occupation object instead of occupationid.
Thanks.