Skip to content

Commit 8c759de

Browse files
committed
fix: 修复 Value 设置 IsActive 状态逻辑
1 parent 9e6b9ae commit 8c759de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/BootstrapBlazor/Components/Select/SelectTree.razor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ private async Task TriggerItemChanged(Func<TreeViewItem<TValue>, bool> predicate
232232
var currentItem = GetExpandedItems().FirstOrDefault(predicate);
233233
if (currentItem != null)
234234
{
235+
currentItem.IsActive = true;
235236
await ItemChanged(currentItem);
236237
}
237238
}

0 commit comments

Comments
 (0)