diff --git a/GridBlazor/GridBlazor.csproj b/GridBlazor/GridBlazor.csproj index 40419abb..eb968ea4 100644 --- a/GridBlazor/GridBlazor.csproj +++ b/GridBlazor/GridBlazor.csproj @@ -6,7 +6,7 @@ 11.0 True False - 6.0.1 + 6.0.2 GridBlazor Grid components for Blazor Grid components for Blazor diff --git a/GridBlazor/Pages/GridComponent.razor.cs b/GridBlazor/Pages/GridComponent.razor.cs index beba1101..e5063324 100644 --- a/GridBlazor/Pages/GridComponent.razor.cs +++ b/GridBlazor/Pages/GridComponent.razor.cs @@ -1438,6 +1438,7 @@ public async Task CreateItem(GridCreateComponent component) if (isValid) { await ShowSpinner(); + Item = component.Item; if (Grid.ServerAPI == ServerAPI.OData && !UseMemoryCrudDataService) Item = await ((ICrudODataService)((CGrid)Grid).CrudDataService).Add(Item); else @@ -1499,6 +1500,7 @@ public async Task UpdateItem(GridUpdateComponent component) if (isValid) { await ShowSpinner(); + Item = component.Item; if (((CGrid)Grid).CrudFileService != null) Item = await ((CGrid)Grid).CrudFileService.UpdateFiles(Item, component.Files); await ((CGrid)Grid).CrudDataService.Update(Item);