Skip to content

Commit 6d0182c

Browse files
committed
Added missing MaterialValueBox#addToggleReadOnlyHandler.
Revert back to 2.4.0-SNAPSHOT
1 parent edd2ff3 commit 6d0182c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

gwt-material/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>gwt-material-parent</artifactId>
66
<groupId>com.github.gwtmaterialdesign</groupId>
7-
<version>2.4.0-rc1</version>
7+
<version>2.4.0-SNAPSHOT</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010

gwt-material/src/main/java/gwt/material/design/client/ui/MaterialValueBox.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
public class MaterialValueBox<T> extends AbstractValueWidget<T> implements HasChangeHandlers, HasName,
7171
HasDirectionEstimator, HasText, AutoDirectionHandler.Target, IsEditor<ValueBoxEditor<T>>, HasIcon,
7272
HasInputType, HasPlaceholder, HasCounter, HasReadOnly, HasActive, HasFieldTypes,
73-
HasAutocomplete, HasPasteHandlers, HasFieldSensitivity, HasLabel {
73+
HasToggleReadOnlyHandler, HasAutocomplete, HasPasteHandlers, HasFieldSensitivity, HasLabel {
7474

7575

7676
private boolean returnBlankAsNull;
@@ -881,6 +881,11 @@ public HandlerRegistration addPasteHandler(PasteEvent.PasteEventHandler handler)
881881
return addHandler(handler, PasteEvent.getType());
882882
}
883883

884+
@Override
885+
public HandlerRegistration addToggleReadOnlyHandler(ToggleReadOnlyEvent.ToggleReadOnlyHandler handler) {
886+
return addHandler(handler, ToggleReadOnlyEvent.getType());
887+
}
888+
884889
@Override
885890
protected FocusableMixin<MaterialWidget> getFocusableMixin() {
886891
if (focusableMixin == null) {

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.github.gwtmaterialdesign</groupId>
77
<artifactId>gwt-material-parent</artifactId>
8-
<version>2.4.0-rc1</version>
8+
<version>2.4.0-SNAPSHOT</version>
99
<packaging>pom</packaging>
1010
<modules>
1111
<module>gwt-material</module>
@@ -69,7 +69,7 @@
6969
<connection>scm:git:[email protected]:GwtMaterialDesign/gwt-material.git</connection>
7070
<developerConnection>scm:git:[email protected]:GwtMaterialDesign/gwt-material.git</developerConnection>
7171
<url>http://github.com/GwtMaterialDesign/gwt-material</url>
72-
<tag>v2.4.0-rc1</tag>
72+
<tag>v2.4.0-SNAPSHOT</tag>
7373
</scm>
7474

7575
<licenses>

0 commit comments

Comments
 (0)