Rearranges some code.
@@ -149,10 +149,6 @@ public class TextFieldBuilder extends ComponentBuilder<TextField> {
this.foregroundColor = foregroundColor;
}
- if (backSpaceKeyEnabled != null) {
- this.backgroundColor = backgroundColor;
- }
-
if (editable != null) {
this.editable = editable;
@@ -179,6 +175,10 @@ public class TextFieldBuilder extends ComponentBuilder<TextField> {
this.rightArrowKeyEnabled = rightArrowKeyEnabled;
}
+ if (backSpaceKeyEnabled != null) {
+ this.backgroundColor = backgroundColor;
+ }
+
if (allowedCharacterPattern != null) {
this.allowedCharacterPattern = Pattern.compile(allowedCharacterPattern);
