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

Qt.ImhFormattedNumbersOnly flag does not show minus sign in iOS keyboard

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • 17bf553b76ebd688e58e4de4271407e2058d89ef (qt/qtbase/dev) de9a97a47a35e4fed4f7bdcb69f8b5534fb9b3a2 (qt/qtbase/6.0) 99938c9ca1f78b3e572f3b7a208c0750a0e09aa4 (qt/tqtc-qtbase/tqtc/lts-5.15) c0220acd71f547f27e50b96bc8fe5f115fd4d9a1 (qt/qtbase/6.1)

    Description

      There's no minus button in iOS keyboard when Qt.ImhFormattedNumbersOnly is set.

      Here's reproducible code. Also the project qtbug91455.zip is attached

      import QtQuick 2.15
      import QtQuick.Window 2.12
      import QtQuick.Controls 2.12
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      
          TextField
          {
          placeholderText: "12345"
          inputMethodHints: Qt.ImhFormattedNumbersOnly
      
          }
      }
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes