Skip to content

Commit 54f2347

Browse files
authored
feat(Button): add release OnClickWithouRender reference (#7892)
1 parent 3c888bf commit 54f2347

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/BootstrapBlazor/Components/Button/ButtonBase.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,11 @@ protected override async ValueTask DisposeAsync(bool disposing)
339339
OnClick = EventCallback<MouseEventArgs>.Empty;
340340
}
341341

342+
if (OnClickWithoutRender != null)
343+
{
344+
OnClickWithoutRender = null;
345+
}
346+
342347
if (IsAsync && ValidateForm != null)
343348
{
344349
ValidateForm.UnregisterAsyncSubmitButton(this);

0 commit comments

Comments
 (0)