AutoComplete DataSource SuggesList Problem

Hi Fellas,
If I used autocomplete with in IList datasource. Suggeslist doesn't appear. This problem comes with 15.4.0.17
Here is code below;
On Xaml;

On CodeBehind;
private IList model = new List();
private void GetUserAndGroup()
{
Device.BeginInvokeOnMainThread(async () =>
{
ShowMessage();
LookupManager _lookupManager = new LookupManager(App.Manager);
var retVal = await _lookupManager.GetUserAndGroups(string.Empty, true);
foreach (var item in retVal.Items)
{
UserAndGroup dump = new UserAndGroup
{
DisplayName = item.DisplayName,
MemberType = item.MemberType,
Name = item.Name,
ObjectId = item.ObjectId
};
dumbModel.Add(item.DisplayName);
model.Add(dump);
}
#region Auto Complete
autoComplete.DataSource = model
autoComplete.Focus();
autoComplete.InputTransparent = false;
autoComplete.VerticalOptions = LayoutOptions.Start;
#endregion Auto Complete
ShowMessage(isLoading: false);
});
}

3 Replies

SK Selva Kumar  Veerakrishnan Syncfusion Team January 11, 2018 12:46 PM UTC

Hi Mehmet,

Thank you for contacting Syncfusion Support.

We could not reproduce the issue “Suggestion list does not appear”. We have prepared a sample based on your requirement. Please download it from the link given below.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/AutoComplete_2_2_41988918298.zip

If the issue occurs at your end, please update us with working sample with replication procedure.

Note: We have noticed from your previous update that the “DisplayMemberPath” has not been set. We need to set “DisplayMemberPath” when using DataSource to SfAutoComplete.

Regards,

Selva Kumar V.


MD Mehmet Demir January 11, 2018 02:38 PM UTC

Hi again,

If I follow your instractions. Everything works fine on iOS platform. But unfortunalty suggeslist doesn't appear on Android platform. Will you guys check it again the issue ?


SK Selva Kumar  Veerakrishnan Syncfusion Team January 12, 2018 09:42 AM UTC

Hi Mehmet,

We could not reproduce the issue “Suggestion list does not appear on Android platform”. We have recorded a output video from our previous updated sample. Please download the video from the link given below.

Video link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/AutoCompleteDropDownIssue465807565.zip

Please let us know if the issue is coming in the sample which we provided in our last update.

If the issue still persists at your end, please update us with more details like Sample in which issue occurs and Replication procedure of the issue.

Regards,

Selva Kumar V.

Loader.
Up arrow icon