diff --git a/modules/web6/src/com/haulmont/cuba/web/gui/components/WebLookupPickerField.java b/modules/web6/src/com/haulmont/cuba/web/gui/components/WebLookupPickerField.java index 6f9f281584..af49f4da6e 100644 --- a/modules/web6/src/com/haulmont/cuba/web/gui/components/WebLookupPickerField.java +++ b/modules/web6/src/com/haulmont/cuba/web/gui/components/WebLookupPickerField.java @@ -172,7 +172,6 @@ public class WebLookupPickerField @Override public void setRequiredMessage(String msg) { - requiredMessage = msg; pickerField.setRequiredMessage(msg); } diff --git a/modules/web6/src/com/haulmont/cuba/web/gui/components/WebSearchPickerField.java b/modules/web6/src/com/haulmont/cuba/web/gui/components/WebSearchPickerField.java index 8ee2e29803..e98eef65d6 100644 --- a/modules/web6/src/com/haulmont/cuba/web/gui/components/WebSearchPickerField.java +++ b/modules/web6/src/com/haulmont/cuba/web/gui/components/WebSearchPickerField.java @@ -154,7 +154,6 @@ public class WebSearchPickerField extends WebSearchField implements SearchPicker @Override public void setRequiredMessage(String msg) { - requiredMessage = msg; pickerField.setRequiredMessage(msg); }