From bd23b996ff004e976d58f8df2951f7c1466f8cde Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Fri, 22 Mar 2024 12:43:33 -0300 Subject: [PATCH] fix(demo): add blur mode to number field Close #11 --- .../vaadin/addons/whatsappbutton/WhatsappButtonDemo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/com/flowingcode/vaadin/addons/whatsappbutton/WhatsappButtonDemo.java b/src/test/java/com/flowingcode/vaadin/addons/whatsappbutton/WhatsappButtonDemo.java index ba0de2e..5fbdda6 100644 --- a/src/test/java/com/flowingcode/vaadin/addons/whatsappbutton/WhatsappButtonDemo.java +++ b/src/test/java/com/flowingcode/vaadin/addons/whatsappbutton/WhatsappButtonDemo.java @@ -104,6 +104,7 @@ private IntegerField createIntegerField(String placeholder) { IntegerField integerField = new IntegerField(); integerField.setPlaceholder(placeholder); integerField.setClearButtonVisible(true); + integerField.setValueChangeMode(ValueChangeMode.ON_BLUR); return integerField; }