MudDataGrid: Fix for Guid column filtering (#7381)#7383
MudDataGrid: Fix for Guid column filtering (#7381)#7383ScarletKuro merged 1 commit intoMudBlazor:devfrom jonathanpotts:fix/datagrid-guid-filtering
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev #7383 +/- ##
==========================================
+ Coverage 90.59% 90.63% +0.04%
==========================================
Files 427 427
Lines 15176 15257 +81
==========================================
+ Hits 13748 13828 +80
- Misses 1428 1429 +1
☔ View full report in Codecov by Sentry. |
|
Hi. Thanks for contribution. @tjscience, we've had an internal discussion about this, and you suggested to eliminate filtering for |

Description
Fixes #7381
src/MudBlazor/Components/DataGrid/Filter.cs
Added support to handle Guid field types.
src/MudBlazor/Components/DataGrid/MudDataGrid.razor
Changed the MudTextField components in the filters menu to use Guid? instead of string when the field type is Guid.
src/MudBlazor.UnitTests/Components/DataGridTests.cs
src/MudBlazor.UnitTests.Viewer/TestComponents/DataGrid/DataGridFiltersTest.razor
Add Guid? column filter testing to DataGridFiltersTest.
How Has This Been Tested?
Added Guid? column filter testing to DataGridFiltersTest.
All unit tests passed when I ran them.
I manually tested the changes to see if it fixes my issue.
Types of changes
Checklist:
dev).