Skip to content

Commit 386a6bf

Browse files
committed
refactor: 修复清空按钮不关窗问题
1 parent 6ac692b commit 386a6bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BootstrapBlazor/Components/DateTimeRange/DateTimeRange.razor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ private async Task ClickClearButton()
375375
{
376376
EditContext.NotifyFieldChanged(FieldIdentifier.Value);
377377
}
378+
await InvokeVoidAsync("hide", Id);
378379
}
379380

380381
private Task OnStartDateChanged(DateTime value)

0 commit comments

Comments
 (0)