Skip to content

Commit

Permalink
Update Dropdown node population method (#14687)
Browse files Browse the repository at this point in the history
  • Loading branch information
QilongTang authored Dec 6, 2023
1 parent 1eee20e commit 3dbe2e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Libraries/CoreNodeModels/DropDown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ public void PopulateItems()
// Restore the selection when selectedIndex is valid
if (selectionState == SelectionState.Restore && !string.IsNullOrEmpty(currentSelection))
{
SelectedIndex = -1;
for (int i = 0; i < items.Count; i++)
{
if (GetSelectedStringFromItem(items.ElementAt(i)).Equals(currentSelection))
Expand Down

0 comments on commit 3dbe2e1

Please sign in to comment.