Skip to content

Select 控件无法正常选择值 #3009

@xunmeng2002

Description

@xunmeng2002

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

我使用了两个Select控件,第二个Select控件根据第一个Select的选择项,添加不同的Items集合,在测试时候发现,第一个Select选择几次后就出问题了,无法 改变选择的值。调试时候发现,改变第一个Select的 选择项时,它的OnSelectedItemChanged事件会触发两次,第一次是选择的值,第二次是null。

Expected Behavior

Select能正确相应用户的选择

Steps To Reproduce

TestBootstrapBlazor.zip

Exceptions (if any)

No response

.NET Version

net8.0

Anything else?

运行程序后,选择左侧菜单第二个 TestSelect,然后选择右侧上面的那个Select控件,选择不同的值,来回四五次左右,该控件就无法相应用户选择了。

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