From e2dfbb8b1811599663755baf9e70cac9bb5bd1f5 Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Thu, 29 May 2025 16:08:04 -0300 Subject: [PATCH] refactor: use HasValueAndElement instead of HasValue Close #192 --- .../com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java b/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java index a1805d0..bc26f34 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java +++ b/src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java @@ -28,6 +28,7 @@ import com.vaadin.flow.component.HasSize; import com.vaadin.flow.component.HasValue; import com.vaadin.flow.component.HasValue.ValueChangeEvent; +import com.vaadin.flow.component.HasValueAndElement; import com.vaadin.flow.component.ItemLabelGenerator; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.component.dependency.CssImport; @@ -78,7 +79,7 @@ @CssImport(value = "./styles/twin-col-grid-button.css") @CssImport(value = "./styles/twincol-grid.css") public class TwinColGrid extends VerticalLayout - implements HasValue>, Set>, HasComponents, HasSize { + implements HasValueAndElement>, Set>, HasComponents, HasSize { private static final class TwinColModel implements Serializable { final Grid grid;