Skip to content

Commit

Permalink
Filtering of DropDownBase will be able to handle null values
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Nov 28, 2024
1 parent 18a92cb commit 26db867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Radzen.Blazor/QueryableExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ public static IQueryable Where(this IQueryable source, string property, string v

if (!string.IsNullOrEmpty(property))
{
query.Add(property);
query.Add($@"({property} == null ? """" : {property})");
}

if (typeof(EnumerableQuery).IsAssignableFrom(source.GetType()))
Expand Down

0 comments on commit 26db867

Please sign in to comment.