diff options
Diffstat (limited to 'tests/auto/declarative/qsgtextinput/data/qtbug-19956regexp.qml')
-rw-r--r-- | tests/auto/declarative/qsgtextinput/data/qtbug-19956regexp.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/declarative/qsgtextinput/data/qtbug-19956regexp.qml b/tests/auto/declarative/qsgtextinput/data/qtbug-19956regexp.qml new file mode 100644 index 0000000000..b5af13cc4c --- /dev/null +++ b/tests/auto/declarative/qsgtextinput/data/qtbug-19956regexp.qml @@ -0,0 +1,13 @@ +import QtQuick 2.0 + +TextInput { + id: textinput + property variant regexvalue + height: 50 + width: 200 + text: "abc" + validator: RegExpValidator { + id: regexpvalidator + regExp: regexvalue + } +} |