set placeholderText by default, not text

Task-number: QDS-456
Change-Id: I05b7ce9efab851b99d12ba272a79bf9ba4443398
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
This commit is contained in:
Tim Jenssen 2020-01-10 14:10:30 +01:00
parent 55d5b86d5d
commit 20b9437d54
1 changed files with 2 additions and 2 deletions

View File

@ -443,7 +443,7 @@ MetaInfo {
version: "2.0"
requiredImport: "QtQuick.Controls"
Property { name: "text"; type: "binding"; value: "qsTr(\"Text Area\")" }
Property { name: "placeholderText"; type: "binding"; value: "qsTr(\"Text Area\")" }
}
}
@ -458,7 +458,7 @@ MetaInfo {
version: "2.0"
requiredImport: "QtQuick.Controls"
Property { name: "text"; type: "binding"; value: "qsTr(\"Text Field\")" }
Property { name: "placeholderText"; type: "binding"; value: "qsTr(\"Text Field\")" }
}
}