Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

combobox 中在items中设置selected会被defaultvalue覆盖 #651

Open
Labels
bugSomething isn't working
@zhupeng0929

Description

@zhupeng0929

foreach (var item in listItems)
{
if (selectVal != null && selectVal.Count > 0)
{

     if (selectVal.Contains(item.Value?.ToString()))     {         item.Selected = true;     }     else     {         item.Selected = false;     } }

}
原来selectVal 没有做判断,如果是items中设置了selected=true,这个地方还是会被覆盖为false

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp