diff --git a/sormas-ui/src/main/java/de/symeda/sormas/ui/utils/UserField.java b/sormas-ui/src/main/java/de/symeda/sormas/ui/utils/UserField.java index 4931c8ca4d1..5869d5e5e58 100644 --- a/sormas-ui/src/main/java/de/symeda/sormas/ui/utils/UserField.java +++ b/sormas-ui/src/main/java/de/symeda/sormas/ui/utils/UserField.java @@ -65,6 +65,10 @@ protected Component initContent() { super.setValue((UserReferenceDto) userCombo.getValue()); }); + addValueChangeListener(c -> { + userCombo.setValue(c.getProperty().getValue()); + }); + return userLayout; } @@ -197,4 +201,5 @@ protected void triggerUserContactPopUpWindow() { public Class getType() { return UserReferenceDto.class; } + }