From 1e02c38d97deff048d82b28a63273ce80a592b9a Mon Sep 17 00:00:00 2001 From: TimChen Date: Wed, 22 Jul 2020 16:58:47 +0800 Subject: [PATCH] fix(module: form): OnFinishEvent is null (#407) --- components/form/Form.razor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/Form.razor.cs b/components/form/Form.razor.cs index 983e8e4e..08152e52 100644 --- a/components/form/Form.razor.cs +++ b/components/form/Form.razor.cs @@ -96,7 +96,7 @@ namespace AntDesign { await OnFinish.InvokeAsync(editContext); - OnFinishEvent.Invoke(this); + OnFinishEvent?.Invoke(this); } private async Task OnInvalidSubmit(EditContext editContext)