Skip to content

Commit 5cbe646

Browse files
committed
doc: 增加防抖 200 毫秒设置
1 parent f4b161a commit 5cbe646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor.Server/Components/Samples/Searches.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private async Task OnClickClear()
186186
<div class="row g-3">
187187
<div class="col-12 col-sm-6">
188188
<Search PlaceHolder="@Localizer["SearchesPlaceHolder"]"
189-
OnSearch="@OnModelSearch"
189+
OnSearch="@OnModelSearch" Debounce="200"
190190
IsClearable="_isClearable" ShowClearButton="_showClearButton" ShowSearchButton="_showSearchButton"
191191
ShowPrefixIcon="true" PrefixIcon="fa-brands fa-github">
192192
</Search>

0 commit comments

Comments
 (0)