Completed
Last Updated: 09 Jan 2023 12:18 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)
Vafadar
Created on: 16 Aug 2022 07:45
Category: UI for PHP
Type: Bug Report
0
PHP Wrappers for kendo ui do not reflect class name changes related to removal of state prefix from css classes as of version 2022.2.802

Hi,

As stated in changelog of version 2022.2.802  'state' prefix removed from CSS state classes.

But php wrappers do not reflect these changes. For example, wrapper for TabStripItem still requires old class name, as a result TabStrip selection is broken:


<?php

namespace Kendo\UI;

class TabStripItem extends \Kendo\SerializableObject {
    public function createElement() {
        $element = new \Kendo\Html\Element('li');

        if ($this->getProperty('selected')) {
            $element->attr('class', 'k-state-active');
        }

2 comments
ADMIN
Veselin Tsvetanov
Posted on: 22 Aug 2022 15:15

Hello,

What you have noticed is a regression introduced with the removal of the `state` prefix. Here is the GitHub item that I have opened on the above:

https://github.com/telerik/kendo-ui-core/issues/6995

Regards,
Veselin Tsvetanov
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.


alex
Posted on: 16 Aug 2022 19:11
i think there's the same issue with PanelBarItem