Skip to content

Commit

Permalink
Revert "Update Dropdown node population method (#14687)" (#14758) (#1…
Browse files Browse the repository at this point in the history
…4761)

This reverts commit 3dbe2e1.
  • Loading branch information
QilongTang authored Dec 14, 2023
1 parent d2cb88d commit 7f228e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Libraries/CoreNodeModels/DropDown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ 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 7f228e4

Please sign in to comment.