Duplicated
Last Updated: 02 May 2022 10:10 by ADMIN
Sasa
Created on: 25 Apr 2022 15:51
Category: Stepper
Type: Bug Report
0
A custom class and styles cannot be applied to the Stepper through its HtmlAttributes configuration

### Bug report

When a custom class or styles are set through the HtmlAttributes() method, they are not applied to the Stepper's element.

### Reproduction of the problem

1. Set a class in the Stepper's HtmlAttributes, e.g.,

```
.HtmlAttributes(new { @class = "test" })

```

2. Add a custom style in the Stepper's HtmlAttributes, e.g.,

```
.HtmlAttributes(new { style = "color: blue;" })

```

### Current behavior

The custom class/styles are not applied to the Stepper's wrapping element.

### Expected/desired behavior

The custom classes and styles are applied to the Stepper.

### Environment

* **Kendo UI version: 2022.1.412
* **jQuery version: 1.12.4
* **Browser: [all] 

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Ivan Danchev
Posted on: 02 May 2022 10:10

Hi,

We are marking this Bug Report as duplicate of: https://feedback.telerik.com/aspnet-mvc/1562745-a-custom-class-and-styles-cannot-be-applied-to-the-stepper-through-its-htmlattributes-configuration

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