Skip to content

Commit 162186c

Browse files
committed
Replaced deprecated Label with Span
Fixes #80
1 parent 0556530 commit 162186c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
* Replaced deprecated ``Label``-Vaadin component with ``Span``
3+
* Updated dependencies
4+
15
## 2.0.0
26
⚠️<i>This release contains breaking changes</i>
37

vaadin-editable-label/src/main/java/software/xdev/vaadin/editable_label/AbstractEditableLabel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import com.vaadin.flow.component.button.ButtonVariant;
3636
import com.vaadin.flow.component.dependency.CssImport;
3737
import com.vaadin.flow.component.html.Div;
38-
import com.vaadin.flow.component.html.Label;
38+
import com.vaadin.flow.component.html.Span;
3939
import com.vaadin.flow.component.icon.VaadinIcon;
4040
import com.vaadin.flow.shared.Registration;
4141

@@ -68,7 +68,7 @@ public abstract class AbstractEditableLabel<
6868
protected final Button btnEdit = new Button(VaadinIcon.PENCIL.create());
6969
protected final Button btnSave = new Button(VaadinIcon.CHECK.create());
7070
protected final Button btnClose = new Button(VaadinIcon.CLOSE.create());
71-
protected final Label label = new Label();
71+
protected final Span label = new Span();
7272

7373
protected final C editor;
7474

0 commit comments

Comments
 (0)