Planned
Last Updated: 06 Aug 2020 14:52 by Márcio
Created by: Márcio
Comments: 2
Category: Rating
Type: Bug Report
0

The decimal place is only considered up to the 5th decimal, such as 2.5 for example.

Therefore, if the Rating receives a value such as 2.1, 2.2, 2.3, 2.4, 2.5, it normally presents, as in the image below.

After the decimal 5, the decimal place is disregarded, rounding up to the next whole number.

So, if the Rating receives a value such as 2.6, 2.7, 2.8, 2.9, it presents incorrectly, as in the image below.

The problem is not in the filling of the stars, since Kendo makes it clear in its documentation that even the decimal 5 is considered as a half star, from that it would really be an entire star.

The problem is related to the label, which in this last example should have “2.6 / 5” instead of “3/5”.

In the link below to see a simulation.

https://dojo.telerik.com/axidahAf/2

Completed
Last Updated: 02 Jun 2020 10:26 by ADMIN
Release 2020.R2.SP.next

Bug report

When adding a Rating with precision:"half" in a Gantt tooltip template the half item is not rendered. Using Rating with precision:"item" works as expected.

Reproduction of the problem

  1. Run this dojo
  2. Hover over the Task

Current behavior

Rating is set to 2.5, but the half item is not rendered.

Expected/desired behavior

Rating configured with precision:"half" should render the half item.

Environment

  • Kendo UI version: 2020.1.406
  • Browser: [all]
Completed
Last Updated: 01 Jun 2020 08:12 by ADMIN
Release 2020.R2.SP.next

Bug report

The rating component layout/functionality breaks when its precision configuration is set to "half" and the defined Kendo culture is "de-DE".

  • The issue is related to the defined in the de-DE culture decimal separator
    If the below definition

numberFormat: {
pattern: ["-n"],
decimals: 2,
",": ".",
".": ",",

is changed to this:

numberFormat: {
pattern: ["-n"],
decimals: 2,
",": "'",
".": ",",

The issue is no more reproducing

Reproduction of the problem

  1. Open this Dojo and run it
  2. See the second rating component

Current behavior

The layout of the rating component with "half" precision doesn't visualize the "half" precision and the value of the current rating is displayed without a decimal point
image

Expected/desired behavior

The expected behavior can be observed in this Dojo example
image

Environment

  • Kendo UI version: 2020.1.406
  • jQuery version: x.y
  • Browser: [all]