diff --git a/demo-v24/frontend/generated/vaadin-featureflags.ts b/demo-v24/frontend/generated/vaadin-featureflags.ts
deleted file mode 100644
index 5478a58..0000000
--- a/demo-v24/frontend/generated/vaadin-featureflags.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-// @ts-nocheck
-window.Vaadin = window.Vaadin || {};
-window.Vaadin.featureFlags = window.Vaadin.featureFlags || {};
-window.Vaadin.featureFlags.exampleFeatureFlag = false;
-window.Vaadin.featureFlags.collaborationEngineBackend = false;
-export {};
\ No newline at end of file
diff --git a/demo-v24/frontend/generated/vaadin.ts b/demo-v24/frontend/generated/vaadin.ts
deleted file mode 100644
index 4bde8a3..0000000
--- a/demo-v24/frontend/generated/vaadin.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import './vaadin-featureflags.ts';
-
-import './index';
-
-import 'Frontend/generated/jar-resources/vaadin-dev-tools/vaadin-dev-tools.js';
diff --git a/superfields/pom.xml b/superfields/pom.xml
index cc75f66..0545b1a 100644
--- a/superfields/pom.xml
+++ b/superfields/pom.xml
@@ -9,7 +9,7 @@
SuperFields
Code for various V14+ fields and other components.
https://www.unforgiven.pl/superfields
- 0.18.3.vaadin14
+ 0.18.3-vaadin14
8
diff --git a/superfields/src/main/java/org/vaadin/miki/superfields/text/SuperTextField.java b/superfields/src/main/java/org/vaadin/miki/superfields/text/SuperTextField.java
index 2fa4032..6f95c97 100644
--- a/superfields/src/main/java/org/vaadin/miki/superfields/text/SuperTextField.java
+++ b/superfields/src/main/java/org/vaadin/miki/superfields/text/SuperTextField.java
@@ -51,7 +51,6 @@ public class SuperTextField extends TextField implements CanSelectText, TextSele
private final TextModificationDelegate delegate = new TextModificationDelegate<>(this, this.getEventBus(), this::getValue);
private TextInputMode textInputMode;
- private boolean preventInvalidInput;
public SuperTextField() {
super();
@@ -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