diff options
Diffstat (limited to 'src/com/vaadin/ui/Select.java')
-rw-r--r-- | src/com/vaadin/ui/Select.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/vaadin/ui/Select.java b/src/com/vaadin/ui/Select.java index d6530991e6..7b6fc07e5b 100644 --- a/src/com/vaadin/ui/Select.java +++ b/src/com/vaadin/ui/Select.java @@ -273,8 +273,7 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering, optionRequest = true; // Hide the error indicator if needed - if (isRequired() && isEmpty() && getComponentError() == null - && getErrorMessage() != null) { + if (shouldHideErrors()) { target.addAttribute("hideErrors", true); } } |