Declined
Last Updated: 22 Mar 2022 09:44 by ADMIN
Flemming
Created on: 25 Nov 2021 11:52
Category: ComboBox
Type: Feature Request
1
The Filtering should work when the component is bound to data types like int, float, DateTime
I have bound the ComboBox to a List<int> and when I set the FIlterable parameter to true, I get an application crash. I would like to be able to filter by integers too. 
2 comments
ADMIN
Dimo
Posted on: 22 Mar 2022 09:44

Hi Flemming,

We are closing this feature request due to

  • low demand
  • need for a breaking change to support it
  • ambiguous user experience when using non-string filters - for example, the user may expect a "contains" numeric filter, but it can only be "equals to", "greater than", etc. The same applies for dates.

On the other hand, it is possible to implement custom filtering in the ComboBox that includes multiple fields. You will need to bind the component to a complex object and have a TextField of type string. Then use the ComboBox OnRead event and build a CompositeFilterDescriptor, according to your preferences.

Regards,
Dimo
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Marin Bratanov
Posted on: 12 Mar 2022 19:49

Hi Flemming and anyone else interested in this,

Just a quick update - you can bind the combo box to a model that has a string field for the text and that will work, you can find a sample of this here https://docs.telerik.com/blazor-ui/components/combobox/filter

Regards,
Marin Bratanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.