We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Wrong SelectedValue

The control sets SelectedValue based on DisplayMemberPath instead of ValueMemberPath.

1 Reply

DR Dhanasekar R Syncfusion Team February 1, 2019 11:34 AM UTC

Hi Dan Dumitrascu, 
Greetings from Syncfusion. 
SelectedValue of SfAutoComplete sets the value based on the SelectedValuePath property. If the SelectedValuePath property null, then only it will take the value from DisplayMemberPath.  We have prepared a sample for the same, please download the sample from the link given below. 
Sample linkSfAutoCompleteSample 
In the above sample, we have set the SelectedValuePath property to a collection, so that whenever we select an item from drop down the SelectedValue will get the value from SelectedValuePath. 

Live Chat Icon For mobile
Up arrow icon