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

Changing Validators can prevent use of delete/backspace

XMLWordPrintable

      1. Run the attached .qml
      2. Click the DoubleValidator, which has a top of 31
      3. Enter 30.5 into the field
      4. Select the IntValidator, which has a top of 30
      5. Press backspace to remove the 5 (which would make the validator technically valid)

      Bug: Cannot remove the text.

      Also occurs if there is no validator and a number like 333 exists - as 33 > 30 it will not allow the deletion of the last 3. A validator should not prevent the use of a backspace/delete.

        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)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes