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

TextEdit does not have maximumLength property available for TextInput

    XMLWordPrintable

    Details

      Description

      There is no way to limit the number of characters user can type to TextEdit. Finding a work-around from QML is difficult due to many ways of modifying the text (binding to text property, setting text property from JavaScript, input method events, key and mouse events, copy-paste functionality). Also, the elide should work in Text element when length of text property increase over maximumLength limit.

        Attachments

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

          Activity

            People

            Assignee:
            aalpert Alan Alpert
            Reporter:
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes