diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/stringLength.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/stringLength.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/stringLength.qml b/tests/auto/qml/qmllint/data/stringLength.qml new file mode 100644 index 0000000000..354fed7b22 --- /dev/null +++ b/tests/auto/qml/qmllint/data/stringLength.qml @@ -0,0 +1,9 @@ +import QtQuick 2.15 + +TextInput { + id: textInput + + Component.onCompleted: { + console.log("text.length", textInput.text.length); + } +} |