Grid fix Options null

This commit is contained in:
markosteger 2023-03-17 14:52:17 +01:00
parent abcdb71bda
commit d6ee4bc164

View File

@ -22,7 +22,7 @@ public partial class Grid<DataType> : ComponentBase
public RenderFragment? Img { get; set; }
[Parameter]
public DataGridOptions? Options { get; set; } = null;
public DataGridOptions? Options { get; set; } = new();
[Parameter]
public List<string>? SearchFilters { get; set; } = null;