Completed
Last Updated: 12 Apr 2021 14:22 by ADMIN
Fu
Created on: 05 Apr 2021 16:44
Type: Bug Report
0
Input issue with NumericTextBox c0 format

Description:

When the NumericTextBox is set to "c0" format and has a value of 0 ($0), it doesn't capture the first digit entered.

 

Reproduction Steps:

  1. Set the field value to 0 ($0)
  2. Hit "Tab" to blur the field
  3. Hit "Shift-Tab" to focus the field (field contents will be highlighted)
  4. Enter "123"
  5. Repeat steps 2 through 4

 

Browser:

Chrome -- Version 89.0.4389.114 (Official Build) (64-bit)

 

Expected Behavior:

  • After step 4, field shows "$123"
  • After step 5, field shows "$123"

 

Observed Behavior:

  • After step 4, the field shows "$230"
  • After step 5, the field (correctly) shows "$123"

 

Notes:

  • This bug seems to occur when the field has a value of 0 ($0) before gaining focus
  • This doesn't occur when the specified format is "c2" or "n0"

 

Code Snippet:

<NumericTextBox format="c0" />

Attached Files:
3 comments
ADMIN
Krissy
Posted on: 12 Apr 2021 14:22

Hi Fu,

The fix is now available in the newest dev version - 4.6.0-dev.202104091415.

Regards,
Krissy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Fu
Posted on: 08 Apr 2021 14:17

Hi Krissy,

 

Thanks for the update! I've tried testing it using the 4.6.0-dev.202104060800 build of @progress/kendo-react-inputs, and can still reproduce this bug. Most other Kendo packages we are using are still at ^4.1.0. Are there other packages that we need to update for this bug?

 

Thanks,

Fu

ADMIN
Krissy
Posted on: 07 Apr 2021 09:26

Hi Fu,

Thank you for the well-structured bug report. 

This bug has already been fixed and will be live in the next dev version, which you can expect to be released in the upcoming week:
https://www.telerik.com/kendo-react-ui/components/installation/development-builds/ 

As a thank you for bringing our attention to this, I have added some bonus Telerik points to your account.

Regards,
Krissy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.