Ensure we have value reverting working in the itementries

This commit is contained in:
TheXamlGuy
2024-07-12 23:33:21 +01:00
parent 767f9db286
commit 902d7e4659
3 changed files with 69 additions and 46 deletions
+2
View File
@@ -11,6 +11,8 @@ public class DropdownEntryViewModelHandler(IServiceFactory serviceFactory) :
if (args.Sender is DropdownEntryConfiguration configuration)
{
List<DropdownValueViewModel> values = [];
values.Add(serviceFactory.Create<DropdownValueViewModel>());
foreach (string item in configuration.Values)
{
values.Add(serviceFactory.Create<DropdownValueViewModel>(item));