Unplanned
Last Updated: 29 May 2020 13:16 by ADMIN
Scheduled for 2020.R2
Lorenzo
Created on: 17 Feb 2020 13:04
Category: Badge
Type: Bug Report
0
Kendo Badge set 0 value

I've got a problem setting the value to integer 0, as in this sample

It works fine with:

    badge.value('0') instead of  badge.value(0);

 

Please help ... thanks

1 comment
ADMIN
Aleksandar
Posted on: 18 Feb 2020 09:12

Hi Lorenzo,

Thank you for reporting this behavior. I have investigated and I can confirm this is a bug. I have logged an item in the public repository and you could track the progress made on the item here:

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

For the time being the possible workaround is to set the value as s string:

var badge =  $('#badge').kendoBadge({
        value: 7,
    }).data('kendoBadge');

badge.value("0")

As a token of gratitude for helping us identify this issue, I have updated your Telerik Points.

Regards,
Aleksandar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.