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
close icon

Sfautocomplete more than one control on a page not showing suggestion list on above android version 7.0

I am using two Xamarin.Forms.sfautocomplete(17.2.0.34) controls in a content page with different datasource. Both controls are working on Samsung A5 2016(android version 7.0) but facing issue in second control (suggestion box not appearing) on click as well as on filter in OPPO A71(android version 7.1.1) as well as on Nokia(android version 9). For your reference attached is the xaml code .

<inputLayout:SfTextInputLayout Margin="10,4,10,4" 
ContainerType="Outlined" 
HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" 
EnableFloating="true" 
EnableHintAnimation="true" Padding="5,10" 
Hint="TouchPoint"> 

<autocomplete:SfAutoComplete SuggestionBoxPlacement="Top" x:Name="TouchPointautocomplete" SelectedValuePath="id" SelectionChanged="TouchPointcomboBox_SelectionChanged" AutoCompleteMode="Suggest" ShowSuggestionsOnFocus="False" SuggestionMode="Contains" DataSource="{Binding Touchpointlist}" DisplayMemberPath="Touchpoint"> </autocomplete:SfAutoComplete> 
</inputLayout:SfTextInputLayout> 

<inputLayout:SfTextInputLayout Margin="10,4,10,4" ContainerType="Outlined" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" EnableFloating="true" EnableHintAnimation="true" Padding="5,10" Hint="Material"> 

<autocomplete:SfAutoComplete x:Name="Materialautocomplete" SelectedValuePath="id" SelectionChanged="MaterialcomboBox_SelectionChanged_1" AutoCompleteMode="Suggest" ShowSuggestionsOnFocus="False" MaximumDropDownHeight="150" SuggestionMode="Contains" DataSource="{Binding Materiallist}" DisplayMemberPath="MaterialName"> </autocomplete:SfAutoComplete> 

</inputLayout:SfTextInputLayout>

3 Replies

MK Muneesh Kumar G Syncfusion Team July 19, 2019 10:16 AM UTC

Hi Jasmine, 
 
We have analyzed the reported issue “When using the two SfAutoComplete in a content page, second control suggestion box not appearing” from our side. We were unable to reproduce the reported issue in mentioned Android version (7.1.1) with your code snippet.  
 
We have used the StackLayout as a parent of the SfAutoComplete control. So, can you please provide the complete code snippet with root parent or sample for replicating this issue? That will be more helpful us for provide a solution. Please refer the below images for your reference. 
  
First control image:  

 
 
Second control image: 
     
 
Regards,  
Muneesh Kumar G. 
 



PR Princy replied to Muneesh Kumar G September 17, 2020 12:36 PM UTC

Hi Jasmine, 
 
We have analyzed the reported issue “When using the two SfAutoComplete in a content page, second control suggestion box not appearing” from our side. We were unable to reproduce the reported issue in mentioned Android version (7.1.1) with your code snippet.  
 
We have used the StackLayout as a parent of the SfAutoComplete control. So, can you please provide the complete code snippet with root parent or sample for replicating this issue? That will be more helpful us for provide a solution. Please refer the below images for your reference. 
  
First control image:  

 
 
Second control image: 
     
 
Regards,  
Muneesh Kumar G. 
 


Hi , 
I am using two syncfusion autocomplete control on single content page(home page). I set suggestion box placement of first autocomplete as none.
But on second autocomplete there is two suggestion box are opening when I am coming back from another page to home page.
Using Andrioid version 9.0


SP Sakthivel Palaniyappan Syncfusion Team September 18, 2020 01:44 PM UTC

Hi Princy,

We have analyzed your query and checked the reported issue with your provided information in Android version 9,  but we could not reproduce the issue. Please find the sample from below.

Sample link:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/AutoCompleteSample-1094685696.zip

Can you please update following details?

1.
Update video about the navigation.
2.
Update modified sample with issue or update code snippet.
3.
Update Xamarin.Forms version and Syncfusion NuGet version.


This will be helpful for us to provide a better solution at the earliest.

Regards,
Sakthivel P.



Loader.
Live Chat Icon For mobile
Up arrow icon