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

Disable automatic showing of suggestion box

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

7 Replies

MK Muneesh Kumar G Syncfusion Team 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  



SC Stefan Cuypers May 9, 2019 07:08 AM UTC

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



MK Muneesh Kumar G Syncfusion Team 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   
 



SC Stefan Cuypers 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


MK Muneesh Kumar G Syncfusion Team 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. 



SC Stefan Cuypers May 9, 2019 03:55 PM UTC

Thanks. That indeed works fine.




MK Muneesh Kumar G Syncfusion Team 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. 


Loader.
Live Chat Icon For mobile
Up arrow icon