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

Implementing filtering

Hi,

I hope someone can help me. I am using the ComboBox control with filtering, and the default filtering works perfectly well, I understand this is matching on StartsWith. What I want to do is filter on Contains, so if I type 'abc' in the textbox, any item containing 'abc' will be filtered in the options, rather than items that start with 'abc'

I have looked at the documentation for the ComboBox control in Blazor and it does not have any examples for this, so I have also looked at the documentation for ComboBox in ASP.NET Core, which does have examples for acheiving this, but I could not determine how to implement it for blazor. I have studied the API reference for FilteringEventArgs but this seems quite different in Blazor compared to ASP.NET Core.

Can anyone help point me in the right direction please?

Thanks

I have just read this feature will be implemented in an upcoming release for DropDowns - I assume this includes the ComboBox?
Thanks

1 Reply

BC Berly Christopher Syncfusion Team July 31, 2019 05:22 AM UTC

Hi Matthew, 

  
Greetings from Syncfusion support.  

  
Yes, FilterType support will also be included for ComboBox components and this support will be included in our upcoming release scheduled on mid of August 2019. We appreciate your patience until then. You can track the status of the reported issue in the below feedback link.   
  

   
  
Regards, 
Berly B.C 


Loader.
Live Chat Icon For mobile
Up arrow icon