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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Wrong suggesion items when using custom ItemTemplate

Thread ID:





128420 Jan 20,2017 09:57 AM UTC Jan 23,2017 11:43 AM UTC Xamarin.Forms 1
Tags: SfAutoComplete
Asked On January 20, 2017 09:57 AM UTC

Hi there, 

I am using SFAutoComplete control on my iOS project and it is working great except when I set custom ItemTemplate. After I set custom ItemTemplate the filtering doesn't work as expected, it starts showing wrong suggesion items. For example I am searching 34011 and when I enter 34 autocomplete shows correct list of suggesions, but when I enter 340 or 3401 it shows correct item with some random items. If I don't set custom template for ItemTemplate property everything works as expected. Here is my code without ItemTemplate:
          Text="{Binding OEMPart}"          
          DataSource="{Binding OemAutoCompleteSource}"          
          Watermark="Part Number"
          TextSize="{x:Static local:PlatformDependentValue.AutoCompleteFontSize}"
          DropDownTextSize="{x:Static local:PlatformDependentValue.AutoCompleteFontSize}"          

Thanks in advance

Pavendhan Kumar [Syncfusion]
Replied On January 23, 2017 11:43 AM UTC

Hi Khasan,

Thank you for contacting Syncfusion support.

Query: AutoComplete suggestion shows random items

We were unable to reproduce the reported issue at our end. And we have prepared a sample for your convenience please download the same from the following link.

Link: http://www.syncfusion.com/downloads/support/forum/128420/ze/AutoCompleteItemTemplate652433197 

Please modify the sample and revert back to us to reproduce the reported issue.

Pavendhan K


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon