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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -