From 341ffda44682ffd6c32f4559d96527c0f5c12761 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 27 Nov 2024 18:08:13 -0800 Subject: [PATCH] fix(Table): ItemChangedType doesn't pass correct value to EditTemplate on Drawer mode (#4750) * feat(Table): add cascade value ItemChagnedType for edit template * chore: bump version 9.0.2-beta04 --- src/BootstrapBlazor/BootstrapBlazor.csproj | 2 +- .../Components/Dialog/EditDialog.razor | 40 ++++++++++--------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 16a3fd77b32..be74d62f614 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@  - 9.0.2-beta03 + 9.0.2-beta04 diff --git a/src/BootstrapBlazor/Components/Dialog/EditDialog.razor b/src/BootstrapBlazor/Components/Dialog/EditDialog.razor index 6e618d358ed..d3af54e8cfa 100644 --- a/src/BootstrapBlazor/Components/Dialog/EditDialog.razor +++ b/src/BootstrapBlazor/Components/Dialog/EditDialog.razor @@ -4,24 +4,26 @@ @attribute [BootstrapModuleAutoLoader("Dialog/EditDialog.razor.js", AutoInvokeInit = false, AutoInvokeDispose = false)] - @if (BodyTemplate != null) - { -
- @BodyTemplate(Model) -
- - } - else - { - - + + @if (BodyTemplate != null) + { +
+ @BodyTemplate(Model) +
+ + } + else + { + + + @RenderFooter + + + } +
+ +
+