When the keyboard opens, the default layer is shown with letters
How to do that by default shown a layer with numbers?
When the keyboard opens, the default layer is shown with letters
How to do that by default shown a layer with numbers?
Copyright © 2021 Jogjafile Inc.


Qt virtual keyboard follows inputMethodHints. So, you can e.g. create a form with
TextFieldQML types and set differentinputMethodHintsfor different fields like name, phone number, pin code etc. When you change the field keyboard changes its mode. You can setQt.ImhDigitsOnlyrestrictive mode for pin code field to only accept numbers turning keyboard to a keypad.If your keyboard opens with a number layout in a specific text input field it sounds like
Qt.ImhPreferNumbersor something like that is set to inputMethodHints. You could try to figure out who sets the value and test to reset by setting it explicitly toQt.ImhNone.