Declined
Last Updated: 02 Sep 2022 08:28 by ADMIN
Stephen
Created on: 26 Aug 2022 11:17
Category: Kendo UI for Angular
Type: Feature Request
0
Global Settings

Hi there,

It would be extremely useful to have some sort of global configuration for component settings / inputs.

For example: I want to remove animation from all of my dropdown lists.

This should be easier. The default workflow is to configure each and every instance of DropDownList using the component's input properties.

Less than ideal workarounds

  • Create an angular directive that auto configures a given Kendo component and apply that directive to each instance of your component.
  • Wrap a given Kendo component in a custom component, and configure it there. This will break the Kendo component's form integration, and you must implement the wrapper component to account for this.

Thank you.

1 comment
ADMIN
Martin
Posted on: 02 Sep 2022 08:28

Hi Stephen,

Both workarounds are indeed the right way to go, however, they should be implemented by the developer per case.

There is no single solution that can cover all different scenarios and variations. That is why the developers need to create their own wrappers and directives and meet the specific project requirements.

https://stackblitz.com/edit/angular-upb7pq

It's worth mentioning that for form control components the wrapper should also be a custom form control.

Regards,
Martin
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/.