[PR #1306] [MERGED] Fix null exception when expanding tree node #2657

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

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1306
Author: @stlufred
Created: 1/3/2024
Status: Merged
Merged: 1/4/2024
Merged by: @enchev

Base: masterHead: fix-null-exception-on-expand


📝 Commits (1)

  • f3fd5b9 Fix null exception when expanding tree node

📊 Changes

1 file changed (+9 additions, -6 deletions)

View changed files

📝 Radzen.Blazor/RadzenTree.razor.cs (+9 -6)

📄 Description

If:

  • Checkboxes enabled
  • CheckedValues is null

Fix works for me, but I'm not 100% sure it works for all cases supported by RadzenTree, so don't be shy on improving my 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/1306 **Author:** [@stlufred](https://github.com/stlufred) **Created:** 1/3/2024 **Status:** ✅ Merged **Merged:** 1/4/2024 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `fix-null-exception-on-expand` --- ### 📝 Commits (1) - [`f3fd5b9`](https://github.com/radzenhq/radzen-blazor/commit/f3fd5b9ef47f559f35e26b907fcf683eb3a545a2) Fix null exception when expanding tree node ### 📊 Changes **1 file changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenTree.razor.cs` (+9 -6) </details> ### 📄 Description If: - Checkboxes enabled - CheckedValues is null Fix works for me, but I'm not 100% sure it works for all cases supported by RadzenTree, so don't be shy on improving my 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:52 +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#2657