Skip to content

Commit 1e61d4e

Browse files
committed
Fix default bug in non-multiselect list filter
1 parent 7b02499 commit 1e61d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Griddly.Mvc/GriddlyFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void SetSelectedItems(object value)
168168
{
169169
// TODO: set default value to all selected
170170
for (int i = 0; i < SelectableItems.Count; i++)
171-
Items[i].Selected = (i == 0);
171+
SelectableItems[i].Selected = (i == 0);
172172
}
173173
}
174174
}

0 commit comments

Comments
 (0)