From 6cc23fc215a400346a463bd94f7a8da4ac94f451 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Sat, 13 Jun 2026 19:41:06 +0300 Subject: [PATCH] Remove ON_BLUR from value change modes documentation ON_BLUR was intentionally excluded during the #5559 review (it was never removed after ON_CHANGE was introduced and has known bugs, see vaadin/flow-components#8612). ON_CHANGE is the correct mode for applying the value on blur. It was re-added by mistake when the PR was merged, so this removes it again from the modes table and the demo mode selectors. --- articles/components/_input-field-common-features.adoc | 1 - src/main/java/com/vaadin/demo/component/Constants.java | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/articles/components/_input-field-common-features.adoc b/articles/components/_input-field-common-features.adoc index d46819eb48..a22af38e06 100644 --- a/articles/components/_input-field-common-features.adoc +++ b/articles/components/_input-field-common-features.adoc @@ -285,7 +285,6 @@ With the Flow Java API, you can define when client-side value changes are synchr |`EAGER`|Synchronizes the value whenever it changes on the client side, for example on each keystroke.|No |`LAZY`|Synchronizes the value after a defined interval has passed without further changes. If another change occurs before the interval ends, the timeout is restarted.|Yes |`TIMEOUT`|Synchronizes the value at defined intervals while the value continues to change.|Yes -|`ON_BLUR`|Synchronizes the value on the `blur` event, when the component loses focus.|No |`ON_CHANGE` (default)|Synchronizes the value on the `change` event, when the component value is committed.|No |=== diff --git a/src/main/java/com/vaadin/demo/component/Constants.java b/src/main/java/com/vaadin/demo/component/Constants.java index 29ce13ef34..9f9972f9a5 100644 --- a/src/main/java/com/vaadin/demo/component/Constants.java +++ b/src/main/java/com/vaadin/demo/component/Constants.java @@ -11,6 +11,5 @@ private Constants() { public static final List valueChangeModes = List.of( ValueChangeMode.EAGER, ValueChangeMode.LAZY, - ValueChangeMode.TIMEOUT, ValueChangeMode.ON_BLUR, - ValueChangeMode.ON_CHANGE); + ValueChangeMode.TIMEOUT, ValueChangeMode.ON_CHANGE); }