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

TextInput new property: NoSmartPunctuation

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS

    Description

      iOS has a feature called "smart punctuation" which
      automatically converts straight quotes(like "this" and 'this') to
      curly quotes(like “this” and ‘this’) and two hyphens (–) to an em dash (—).

      This is feature is automatically enabled but can be disabled in settings.

      In the QML TextInput component, the property inputMethodHints can be used to
      set the input behaviour, such as Qt.ImhNoAutoUppercase and
      Qt.ImhNoPredictiveText.

       

      Could there be similar property to disable smart punctuation?

      Note: Apple has an API that can be used to disable smart punctuation: https://
      developer.apple.com/documentation/uikit/uitextinputtraits/2865931-smartquotest
      ype

      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
            tero.pelkonen Tero Pelkonen
            Votes:
            10 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes