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

QML: Making a property required in a delegate causes it to become read-only

    XMLWordPrintable

Details

    Description

      See attached MRE.

      As recommended in the docs, adding properties in model delegates as `required` is preferred over context-provided properties. However, making a property `required` causes it to no longer be able to be modified, i.e. `setData()` in the model is no longer called.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            nickdademo Nick D'Ademo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes