Skip to content

Commit

Permalink
#12850 - 'Unsaved changes' pop-up is not triggered and 'Discard' butt…
Browse files Browse the repository at this point in the history
…on does not take into account changes in the responsible user fields
  • Loading branch information
sergiupacurariu committed Jan 31, 2024
1 parent 9270c3d commit 262f524
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ protected Component initContent() {
super.setValue((UserReferenceDto) userCombo.getValue());
});

addValueChangeListener(c -> {
userCombo.setValue(c.getProperty().getValue());
});

return userLayout;
}

Expand Down Expand Up @@ -197,4 +201,5 @@ protected void triggerUserContactPopUpWindow() {
public Class<? extends UserReferenceDto> getType() {
return UserReferenceDto.class;
}

}

0 comments on commit 262f524

Please sign in to comment.