[PR #1028] [MERGED] Method to replace only the first occurence of a string #2469

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

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1028
Author: @ChristianA1992
Created: 6/16/2023
Status: Merged
Merged: 6/16/2023
Merged by: @enchev

Base: masterHead: feature/replace-only-first-occurence


📝 Commits (1)

  • 70014d5 Method to replace only the first occurence of a string

📊 Changes

1 file changed (+18 additions, -1 deletions)

View changed files

📝 Radzen.Blazor/Common.cs (+18 -1)

📄 Description

There is a bug, if your column is called something like Car.ApiCar.Brand. When the GetPropertyType method is run, it replaces all occurences of "Car." which makes it so the column can't be filtered.


🔄 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/1028 **Author:** [@ChristianA1992](https://github.com/ChristianA1992) **Created:** 6/16/2023 **Status:** ✅ Merged **Merged:** 6/16/2023 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `feature/replace-only-first-occurence` --- ### 📝 Commits (1) - [`70014d5`](https://github.com/radzenhq/radzen-blazor/commit/70014d5ebaa4e38589c4393bf81b03de507a4d35) Method to replace only the first occurence of a string ### 📊 Changes **1 file changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/Common.cs` (+18 -1) </details> ### 📄 Description There is a bug, if your column is called something like Car.ApiCar.Brand. When the GetPropertyType method is run, it replaces all occurences of "Car." which makes it so the column can't be filtered. --- <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:18:58 +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#2469