Skip to content

Commit

Permalink
Fixed DataGrid column FilterOperator will always default to what set …
Browse files Browse the repository at this point in the history
…initially
  • Loading branch information
enchev committed Oct 29, 2024
1 parent 3665079 commit 9213e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Radzen.Blazor/RadzenDataGridColumn.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ public override async Task SetParametersAsync(ParameterView parameters)
}
}

if (parameters.DidParameterChange(nameof(FilterOperator), FilterOperator) || _filterOperator != null)
if (filterOperator == null && (parameters.DidParameterChange(nameof(FilterOperator), FilterOperator) || _filterOperator != null))
{
filterOperator = _filterOperator ?? parameters.GetValueOrDefault<FilterOperator>(nameof(FilterOperator));
}
Expand Down

0 comments on commit 9213e3d

Please sign in to comment.