Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35198

Unable to set both echoMode: TextInput.Password and inputMethodHints: Qt.ImhDigitsOnly in Android for TextField

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.0 Beta1 , 5.2.0 RC1, 5.2.0
    • Fix Version/s: 5.2.1
    • Labels:
      None
    • Environment:
      Qt 5.2 for Android
    • Platform/s:
      Android
    • Commits:
      2b3f293d892c5268bd2a07ed17fa9fc5adacbd76

      Description

      when set both
      echoMode: TextInput.Password and
      inputMethodHints: Qt.ImhDigitsOnly in Android
      for TextField, I get not Digital Keyboard, but AlphaNumerical

      Without echoMode: TextInput.Password shows up right keyboard

      TextField{
      text: ""
      inputMethodHints: Qt.ImhHiddenText | Qt.ImhDigitsOnly;
      echoMode: TextInput.Password
      }

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            stromme Christian
            Reporter:
            enemtsev Egor Nemtsev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes