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

Index in Repeater is not Working for required Property

XMLWordPrintable

    • Windows

      Hello,

      if I try to use an own component with a required property, the index of the repeater is not defined. I get the error message

      qrc:/main.qml:24: ReferenceError: index is not defined

      If the property is not required, it works as expected. A show case with both kinds of property is attacht.

       

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

            qtqmlteam Qt Qml Team User
            fettpet Sev Dw
            Votes:
            9 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes