[PR #1686] [MERGED] NumericRangeValidator: AllowNull #2859

Open
opened 2026-01-29 18:20:47 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1686
Author: @monsieurvor
Created: 9/10/2024
Status: Merged
Merged: 9/11/2024
Merged by: @enchev

Base: masterHead: master


📝 Commits (5)

📊 Changes

2 files changed (+21 additions, -2 deletions)

View changed files

📝 Radzen.Blazor.Tests/NumericRangeValidatorTests.cs (+13 -0)
📝 Radzen.Blazor/RadzenNumericRangeValidator.cs (+8 -2)

📄 Description

Adds property AllowNull to RadzenNumericRangeValidator, with default value false; default behavior is hence unchanged.

If set to true, null component values are validated as OK.

Added a test for this case.


🔄 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/1686 **Author:** [@monsieurvor](https://github.com/monsieurvor) **Created:** 9/10/2024 **Status:** ✅ Merged **Merged:** 9/11/2024 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`1052d9c`](https://github.com/radzenhq/radzen-blazor/commit/1052d9c78fe7f3e8ee0243b48569cdc5b4a2a6fc) AllowNull range validator - [`98d4453`](https://github.com/radzenhq/radzen-blazor/commit/98d445370e5c860fe3e532c8985d379f4b1c50e3) Change comment - [`666a0cc`](https://github.com/radzenhq/radzen-blazor/commit/666a0cc16ca3fa1bb52fe8e8b846c9fec814e46d) Add AllowNull test case - [`cde9ca6`](https://github.com/radzenhq/radzen-blazor/commit/cde9ca6d9ef588f0169d6c367afa49b9711ca161) Fix test assertion - [`d602808`](https://github.com/radzenhq/radzen-blazor/commit/d602808b36d01017c0dc08e2f150d90aed4223cd) Update RadzenNumericRangeValidator.cs ### 📊 Changes **2 files changed** (+21 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor.Tests/NumericRangeValidatorTests.cs` (+13 -0) 📝 `Radzen.Blazor/RadzenNumericRangeValidator.cs` (+8 -2) </details> ### 📄 Description Adds property `AllowNull` to `RadzenNumericRangeValidator`, with default value `false`; default behavior is hence unchanged. If set to `true`, null component values are validated as OK. Added a test for this case. --- <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:20:47 +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#2859