diff --git a/server/src/main/java/com/vaadin/data/Binder.java b/server/src/main/java/com/vaadin/data/Binder.java index c41461f7292..8a11cc36ee8 100644 --- a/server/src/main/java/com/vaadin/data/Binder.java +++ b/server/src/main/java/com/vaadin/data/Binder.java @@ -1286,7 +1286,7 @@ private BindingValidationStatus writeFieldValue(BEAN bean) { setter.accept(bean, value); if (value != null) { FIELDVALUE converted = convertToFieldType(value); - if (!field.getValue().equals(converted)) { + if (!Objects.equals(field.getValue(), converted)) { getField().setValue(converted); } }