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

IntValidator allows for real numbers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important 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.

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes