Can we update the dropdownlist control to allow for a filter region template. This will allow, so that a custom component can be placed where the filter box is.
The use case that we have is to have our common input component, which has all the application styles pre-applied, be used for filtering. We can currently do this for grid component's filtering. But unlike grid filters, kendo dropdownlist does not allow for a template for the search region. This would be a good feature and consistent with other controls in the kendo library.
It would be good to have an option for clear "X" or whatever on the DropDownList. This is already on the ComboBox but not on the DropDownList. I can see the argument that having a blank option as the first option in the popover would work but that requires the user to open the popover and click a blank entry and forces all lists to have a blank item. I'm currently getting around this by wrapping the kendo component in my own component and using css to put a clear button on the kendo control. However, there is no public access to the needed functions to clear the control and have the angular zone update when in an on push state (Not sure about normal change detection strategy but I only use on push so...). Right now I have to cast the component to type any and then use the private functions on the component. See below. Access to either the proper method to do what I'm doing or adding a native clear would be really great. Really for all controls. I would be happy with just the access to the proper functions as it allows me to customize when and how the clear shows. this is what I'm doing for now that gets what I want. this.dropDownList.reset(); const dropdown = this.dropDownList as any; dropdown.valueSubject.next(undefined);
The current [maxlength] property just sets a control as Invalid if maxlength is exceeded. But I'd prefer an option to just limit the number of characters the end user can enter, much like the maxlength property of <input>. This should apply to all Kendo controls where user can type in text.