kendo-ui-core
kendo-ui-core copied to clipboard
Attributes added to the TimeDurationPicker are not applied to the wrapper element
Bug report
When adding custom classes or styles to the TimeDurationPicker component, they are applied to the hidden input elenent rather than to the parent element.
Reproduction of the problem
- Create a TimeDurationPicker and add a class to its element:
<input id="timedurationpicker" class="testClass" />
- When you inspect the component's markup, the "testClass" is added to the hidden input element.
A Dojo sample for reproduction: https://dojo.telerik.com/IsTnGqsk
Expected/desired behavior
Any custom attributes must be added to the parent element with class "k-timedurationpicker".
Environment
- **Kendo UI version: 2025.2.520
- **jQuery version: 3.7.1
- **Browser: [all]