[PR #1245] [MERGED] Numeric Issue with Leading Zeros #2622

Closed
opened 2026-01-29 18:19:41 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1245
Author: @DanRogers99
Created: 11/14/2023
Status: Merged
Merged: 11/14/2023
Merged by: @enchev

Base: masterHead: NumericIssueWithLeadingZeros


📝 Commits (2)

📊 Changes

2 files changed (+44 additions, -1 deletions)

View changed files

📝 Radzen.Blazor.Tests/NumericTests.cs (+31 -0)
📝 Radzen.Blazor/RadzenNumeric.razor.cs (+13 -1)

📄 Description

There is a formatting issue using a formatting template such as 0.0000. Updating the value from 10.0000 to 100.0000 is resetting to 10.000.

ezgif-5-a5e08e35bf

I've added a unit test that fails without the fix included

Screenshot 2023-11-14 094120

It passes successfully with the included fix.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/1245 **Author:** [@DanRogers99](https://github.com/DanRogers99) **Created:** 11/14/2023 **Status:** ✅ Merged **Merged:** 11/14/2023 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `NumericIssueWithLeadingZeros` --- ### 📝 Commits (2) - [`1d259f8`](https://github.com/radzenhq/radzen-blazor/commit/1d259f86bd0cffe244c688f84972e1466ccc160b) Numeric Issue with Leading Zeros - [`359e41b`](https://github.com/radzenhq/radzen-blazor/commit/359e41bd3b2e491d070006cb669a7c507b9b9e28) . ### 📊 Changes **2 files changed** (+44 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor.Tests/NumericTests.cs` (+31 -0) 📝 `Radzen.Blazor/RadzenNumeric.razor.cs` (+13 -1) </details> ### 📄 Description There is a formatting issue using a formatting template such as 0.0000. Updating the value from 10.0000 to 100.0000 is resetting to 10.000. ![ezgif-5-a5e08e35bf](https://github.com/radzenhq/radzen-blazor/assets/33861884/75c585f6-cfae-4f11-bc75-34636bb61469) I've added a unit test that fails without the fix included ![Screenshot 2023-11-14 094120](https://github.com/radzenhq/radzen-blazor/assets/33861884/041f0334-4356-46f4-99a1-d4b04dd061d8) It passes successfully with the included fix. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:19:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2622