diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml index 3d31162c436f2442c163710d5360437ac206babc..a7aa67eb7984513912a8ce574e15d5e1d1e657c6 100644 --- a/src/controls/TextField.qml +++ b/src/controls/TextField.qml @@ -619,7 +619,7 @@ Control { font: textInput.font horizontalAlignment: textInput.horizontalAlignment verticalAlignment: textInput.verticalAlignment - opacity: !textInput.text.length && !textInput.inputMethodComposing ? 1 : 0 + opacity: textInput.displayText.length ? 0.0 : 1.0 color: __panel ? __panel.placeholderTextColor : "darkgray" clip: contentWidth > width; elide: Text.ElideRight