Skip to content

Commit

Permalink
release 0.18.3-vaadin14 ready
Browse files Browse the repository at this point in the history
  • Loading branch information
vaadin-miki committed Aug 11, 2023
1 parent 387f3bd commit 067f2db
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
6 changes: 0 additions & 6 deletions demo-v24/frontend/generated/vaadin-featureflags.ts

This file was deleted.

5 changes: 0 additions & 5 deletions demo-v24/frontend/generated/vaadin.ts

This file was deleted.

2 changes: 1 addition & 1 deletion superfields/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<name>SuperFields</name>
<description>Code for various V14+ fields and other components.</description>
<url>https://www.unforgiven.pl/superfields</url>
<version>0.18.3.vaadin14</version>
<version>0.18.3-vaadin14</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public class SuperTextField extends TextField implements CanSelectText, TextSele

private final TextModificationDelegate<SuperTextField> delegate = new TextModificationDelegate<>(this, this.getEventBus(), this::getValue);
private TextInputMode textInputMode;
private boolean preventInvalidInput;

public SuperTextField() {
super();
Expand Down Expand Up @@ -156,15 +155,12 @@ public TextInputMode getTextInputMode() {

@Override
public void setPreventingInvalidInput(boolean prevent) {
this.preventInvalidInput = prevent;
this.getElement().getNode().runWhenAttached(ui -> ui.beforeClientResponse(this, context ->
this.getElement().callJsFunction("preventInvalidInput", prevent)
));
this.setPreventInvalidInput(prevent);
}

@Override
public boolean isPreventingInvalidInput() {
return this.preventInvalidInput;
return this.isPreventInvalidInput();
}

@SuppressWarnings("squid:S1185") // removing this method makes the class impossible to compile due to missing methods
Expand Down

0 comments on commit 067f2db

Please sign in to comment.