SfAutocomplete do not show dropdown with items in iOS

Hi team,

We are facing a problem with autocomplete control on iOS. If we set a collection of objects into dataSource, the dropdown with suggestions is not displayed on iOS. On UWP, it is working fine. Can you please take a look at the provided sample and suggest us a solution to make it work also on 

Thanks,

Peter


Attachment: SyncfusionAutocompleteTestApp_4d7fc2b4.7z

3 Replies

SS Suganya Sethuraman Syncfusion Team March 29, 2022 12:26 PM UTC

Hi Peter,

We have analysed the reported issue "SfAutoComplete do not show a dropdown with items in iOS". We could be able to reproduce the issue. To fix this, use the SfAutoComplete DisplayMemberPath API as shown in the following code snippet,

Code snippet

         <xForms:SfAutoComplete x:Name="_autoComplete"

                                TextSize="15"

                                HeightRequest="38"

                                DropDownCornerRadius="8"

                                ShowClearButton="False"

                                AutoCompleteMode="Suggest"

                                SuggestionMode="Contains"

                                ShowSuggestionsOnFocus="True"

                                EnableSelectionIndicator="False"

                                SelectAllOnFocus="True"

                                DisplayMemberPath="Title">



Please have a modified sample from the attachment.

Please check and let us know if you have any concerns.

Regards,
Suganya Sethuraman.


Attachment: SyncfusionAutocompleteTestApp_d90c0c0a.zip


PK Peter Kis March 31, 2022 11:34 AM UTC

Hi team, thank you for helping me solve my problem. 



SS Suganya Sethuraman Syncfusion Team April 1, 2022 07:41 AM UTC

Hi Peter,

Thanks for the update.

We are glad that your issue is resolved. Please let us know if you require any further assistance.

Regards,
Suganya Sethuraman.


Loader.
Up arrow icon