qt - QML TextField validator does not work on Android -
i have written code below:
textfield { id:malzemeolcuinput anchors.fill: parent validator: regexpvalidator { regexp: /\d+/ } font.pixelsize: 18 placeholdertext: "kullanılan..." horizontalalignment: text.alignhcenter verticalalignment: text.alignvcenter }
textfield accepts numbers. on mingw, when press alphanumeric a,b,c, field has no effect. if deploy android, textfield accepts character. wrong when use code on mingw?
Comments
Post a Comment