Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-78478

Repeated elements in dynamic forms are not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1.5, 4.2.2
    • 4.0.9, 4.0.10, 4.1.4, 4.1.5, 4.2.2
    • Forms Library

      Using repeated elements in dynamic forms do not work due to a faulty use of this.updateForm in lib/form/amd/src/dynamicform.js

      Fix is already available.

      How to reproduce:

      When using a dynamic form and repeat_elements, add a repeated element like the one in the link below in your form. Then use the form:

      https://github.com/Wunderbyte-GmbH/moodle-mod_booking/blob/687076c4556ce4893c71aa9edf6b37744c3d82fe/classes/form/dynamicsemestersform.php#L178

       

       

       

            dasistwas David Bogner
            dasistwas David Bogner
            Paul Holden Paul Holden
            Andrew Lyons Andrew Lyons
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 1 minute
                1h 1m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.