Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SplitButton HtmlAttributes are not applied #7333

Closed
IvanDanchev opened this issue May 9, 2023 · 0 comments
Closed

SplitButton HtmlAttributes are not applied #7333

IvanDanchev opened this issue May 9, 2023 · 0 comments

Comments

@IvanDanchev
Copy link
Contributor

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]
@aleksandarevangelatov aleksandarevangelatov self-assigned this May 30, 2023
@github-actions github-actions bot added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants