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

IntValidator allows for real numbers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 4.7.1
    • None
    • I tried it on Mac OS X with QT Technology Preview SDK 1.1 and nothing else
      See QML file that reproduces the issue attached. Just try typing in some number with the decimals.

    Description

      Create a TextInput field and set IntValidator for allowing integers only.
      It correctly blocks letters, but allows for commas ",". Depending on your locale you may get "." allowed instead

      Attachments

        Issue Links

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

          Activity

            People

              denexter Andrew den Exter (closed Nokia identity) (Inactive)
              artem.marchenko Artem Marchenko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes