Skip to content

bug(SelectTree): 首次加载时 TreeView 选中值应与组件值 Value 保持一致 #5001

@AiYuZhen

Description

@AiYuZhen

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

首次弹出选择框时,与当前值一致的选项未处理选中状态,手动选择后再次弹出时可正确显示选中项。
因无法上传图片,所以做了打包:
示例图片 (2).zip

Expected Behavior

首次弹出选择列表时与当前值一致的选项处于选中状态且在可视范围内。

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

Test.zip

Exceptions (if any)

No response

.NET Version

NET8.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions