Completed
Last Updated: 10 Feb 2022 13:10 by ADMIN
Release 2022.R1.SP.next
Alexander
Created on: 08 Feb 2022 08:49
Category: Toolbar
Type: Bug Report
0
Setting a custom class in Toolbar menuButtons removes the default classes

Bug report

When a custom class is set using the items.menuButtons.attributes option, the custom class is applied, but the default 'k-link k-menu-link' classes are removed from the item

Reproduction of the problem

  1. Open the example in the API - https://docs.telerik.com/kendo-ui/api/javascript/ui/toolbar/configuration/items.menubuttons#itemsmenubuttonsattributes
  2. Inspect the first item in the menu button

Current behavior

The custom class is applied, but the item is missing the ''k-link k-menu-link' classes

Expected/desired behavior

The default classes should not be removed when a custom class is set.

The issue is a regression since 2022.1.119

Environment

  • Kendo UI version: 2022.1.119
  • Browser: [all ]
0 comments