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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable automatic showing of suggestion box

Thread ID:

Created:

Updated:

Platform:

Replies:

144461 May 7,2019 05:54 PM UTC May 10,2019 04:29 AM UTC Xamarin.Forms 7
loading
Tags: SfComboBox
Stefan Cuypers
Asked On May 7, 2019 05:54 PM UTC

We're using the SfComboBox in a traditional combobox way: a list with predefined items that represent much used values, but the user can type something not on the list.
The problem with that is that the control seems to automatically show the suggestion box when we start typing. Since during typing the keyboard pops up there is not so much space for the suggestion box and it shows over the combobox itself. So the user can type anything he likes, but can't see what he's typing. (See attached screens).
Is there a way to only show the suggestion box when the user explicitly taps the drop-down arrow and not when he starts typing?




Attachment: Screens_650a3c71.zip

Muneesh Kumar G [Syncfusion]
Replied On May 8, 2019 11:31 AM UTC

Hi Stefan Cuypers, 
 
Greetings from Syncfusion, we have checked your requirement from our side and prepared the custom sample for that. In that sample, we have set ComboBox custom view as borderless entry and changed its text when ComboBox selected item get changed. Please find the sample from the below link. 
 
 
Please check the attached sample and let us know if you have any concern on this. 

Regards,
 
Muneesh Kumar G  


Stefan Cuypers
Replied On May 9, 2019 07:08 AM UTC

Thanks a lot for the sample. That indeed solves my problem.


Muneesh Kumar G [Syncfusion]
Replied On May 9, 2019 07:20 AM UTC

Hi Stefan Cuypers,  
  
Thanks for the update. 
  
We are glad to know that the given solution works. Please let us know if you need any further assistance. 

Regards,  
Muneesh Kumar G   
 


Stefan Cuypers
Replied On May 9, 2019 08:59 AM UTC

Still a little issue though: it seems the height of the Entry is not ok causing the top to be cut off.
Any idea's?
Tested in an Android Emulator.
See print screen attached with on top an adjusted combobox and below a standard combobox.



Attachment: Aantekening_20190509_105745_1b89c99d.zip

Muneesh Kumar G [Syncfusion]
Replied On May 9, 2019 12:01 PM UTC

Hi Stefan,

We have checked with the sample provided in the last update and since the entry text is in the scrollview, the text is getting cropped. And now we have modified the sample with the HeightRequest set as 45 to resolve the issue. Please have the sample from the below link,
 
 
 
Screenshot: 
 
 
 
Please check with the sample and let us know if you have any concern. 
 
Regards, 
Muneesh Kumar G. 


Stefan Cuypers
Replied On May 9, 2019 03:55 PM UTC

Thanks. That indeed works fine.



Muneesh Kumar G [Syncfusion]
Replied On May 10, 2019 04:29 AM UTC

Hi Stefan, 
 
Thanks for the update. 
  
We are glad to know that the given solution works. Please let us know if you need any further assistance. 
  
Thanks, 
Muneesh Kumar G. 


CONFIRMATION

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

Live Chat Icon For mobile
Live Chat Icon