Completed
Last Updated: 03 Jun 2021 16:33 by ADMIN
Release 2021.R2.SP.next
Mark
Created on: 08 Apr 2021 08:46
Category: RadioGroup
Type: Bug Report
0
Wrong type in RadioGroup change event data

Bug report

The 'oldValue' and 'newValue' of change event of RadioGroup are marked as of type Number, while they should be of type String.

Reproduction of the problem

  1. Open the change event example from the API

Current behavior

It is written that the 'oldValue' and 'newValue' are of type Number, but the logged values are strings

Current TypeScript definition:

interface RadioGroupChangeEvent extends RadioGroupEvent {
        target?: JQuery;
        oldValue?: number;
        newValue?: number;
    }

Expected/desired behavior

It should be marked that the oldValue and newValue are Strings.

Environment

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