We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4971fbf commit f4bae15Copy full SHA for f4bae15
src/BootstrapBlazor/Components/TreeView/TreeView.razor.cs
@@ -345,6 +345,11 @@ protected override void OnParametersSet()
345
SearchIcon ??= IconTheme.GetIconByKey(ComponentIcons.TreeViewSearchIcon);
346
ClearSearchIcon ??= IconTheme.GetIconByKey(ComponentIcons.TreeViewResetSearchIcon);
347
LoadingIcon ??= IconTheme.GetIconByKey(ComponentIcons.TreeViewLoadingIcon);
348
+
349
+ if (IsReset)
350
+ {
351
+ _rows = null;
352
+ }
353
}
354
355
/// <summary>
@@ -353,7 +358,6 @@ protected override void OnParametersSet()
358
/// <returns></returns>
359
protected override async Task OnParametersSetAsync()
360
{
356
- _rows = null;
357
361
Items ??= [];
362
if (Items.Count > 0)
363
0 commit comments