diff options
Diffstat (limited to 'framework/qml/RequiredTextField.qml')
-rw-r--r-- | framework/qml/RequiredTextField.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/framework/qml/RequiredTextField.qml b/framework/qml/RequiredTextField.qml index 2e3512a4..9ee3bece 100644 --- a/framework/qml/RequiredTextField.qml +++ b/framework/qml/RequiredTextField.qml | |||
@@ -23,10 +23,6 @@ import org.kube.framework 1.0 as Kube | |||
23 | Kube.TextField { | 23 | Kube.TextField { |
24 | id: root | 24 | id: root |
25 | validator: RegExpValidator { regExp: /.*\S.*/ } | 25 | validator: RegExpValidator { regExp: /.*\S.*/ } |
26 | Rectangle { | 26 | backgroundColor: acceptableInput ? Kube.Colors.viewBackgroundColor : Kube.Colors.warningColor |
27 | anchors.fill: parent | 27 | backgroundOpacity: acceptableInput ? 1.0 : 0.2 |
28 | opacity: 0.2 | ||
29 | color: Kube.Colors.warningColor | ||
30 | visible: !root.acceptableInput | ||
31 | } | ||
32 | } | 28 | } |