aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextinput/data/qtbug-19956regexp.qml
blob: c0317f358355cc9fabda2980ac120db659a445a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import QtQuick 2.14

TextInput {
    id: textinput
    property variant regexvalue
    height: 50
    width: 200
    text: "abc"
    validator: RegularExpressionValidator {
        id: regexpvalidator
        regularExpression: regexvalue
    }
}