From d6ee4bc164facd918731a498178a4bfcff8c69ee Mon Sep 17 00:00:00 2001 From: markosteger Date: Fri, 17 Mar 2023 14:52:17 +0100 Subject: [PATCH] Grid fix Options null --- src/Connected.Components/Components/Grid.razor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connected.Components/Components/Grid.razor.cs b/src/Connected.Components/Components/Grid.razor.cs index e5ab426..dc50ba7 100644 --- a/src/Connected.Components/Components/Grid.razor.cs +++ b/src/Connected.Components/Components/Grid.razor.cs @@ -22,7 +22,7 @@ public partial class Grid : ComponentBase public RenderFragment? Img { get; set; } [Parameter] - public DataGridOptions? Options { get; set; } = null; + public DataGridOptions? Options { get; set; } = new(); [Parameter] public List? SearchFilters { get; set; } = null;