Unplanned
Last Updated: 13 Jun 2025 11:39 by Paul
Paul
Created on: 13 Jun 2025 11:39
Category: TimeDurationPicker
Type: Bug Report
2
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

1. Create a TimeDurationPicker and add a class to its element:

<input id="timedurationpicker" class="testClass" />

2. 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]

0 comments