Completed
Last Updated: 12 Jun 2023 14:52 by ADMIN
Release R3.2023-Increment.1(19.July.2023)
Created by: FranckSix
Comments: 0
Category: SplitButton
Type: Bug Report
1

Bug report

Reproduction of the problem

Test the following SplitButton configuration:

@(Html.Kendo().SplitButton()
   .Name("splitbutton")
   .Text("test2")
   .HtmlAttributes(new { @class = "myclass", style = "border:1px solid black;", data_customAttr = "test" })
   .Icon("download")
   .Items(i =>
    {
        i.Add().Text("button1");
    })
)

Current behavior

The custom class, attribute and styles are not applied to the SplitButton's Html element.

Expected/desired behavior

The HtmlAttributes are applied to the SplitButton's element.

Environment

  • Kendo UI version: 2023.1.425
  • jQuery version: x.y
  • Browser: [all]