Hi,
I especially oriented myself at this part of the documentation.
On my side it looks like this:
<syncfusion:ComboBoxAdv Grid.Row="0"
Margin="10"
AutoCompleteMode="Suggest"
ItemsSource="{Binding Inspection.RollerDefects}"
SelectedItem="{Binding SelectedDefect}"
AllowMultiSelect="False"
IsEditable="True">
<syncfusion:ComboBoxAdv.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Id, StringFormat={}Defekt Nr.: {0}}" />
</DataTemplate>
</syncfusion:ComboBoxAdv.ItemTemplate>
</syncfusion:ComboBoxAdv>
The ItemSelector looks correct, but when I select an item, the currently selected item display text is being set to the selected objects .ToString() output. When I tell the control to use a DisplayMemberPath alongside to a custom ItemTemplate, i get a runtime error that its not allowed to use DisplayMemberPath whilst using a custom ItemTemplate. What can I do?
Also, searching for text also does not really work well, it uses the .ToString() to find keywords i enter in the box but when i search for actual numbers it doenst find anything, because the number does not appear in the objects .ToString()