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

Index in Repeater is not Working for required Property

    XMLWordPrintable

Details

    • Windows

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: