Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
6.7.0, 6.7.2, 6.8.0 Beta1
-
-
2024wk26s2FOQtforAndroid
Description
When setting the inputMethodHints property for a TextField to Qt.ImhDigitsOnly or Qt.ImhFormattedNumbersOnly, it doesn't trigger a numeric-only keypad on Android as it used to in earlier versions (6.6.3, 6.5.6).
To reproduce the issue, use the following code and press on the text field:
import QtQuick
import QtQuick.Controls
Window {
width: 640
height: 480
visible: true
title: qsTr("Hello TextField")
TextField
{ anchors.centerIn: parent inputMethodHints: Qt.ImhDigitsOnly // Qt.ImhFormattedNumbersOnly }}
Attachments
Issue Links
- duplicates
-
QTBUG-125410 TextField.inputMethodHints flags are ignored on Android for Qt 6.7.0
-
- Closed
-
-
QTBUG-126130 inputMethodHints does not work
-
- Closed
-
- mentioned in
-
Page Loading...