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

Optional placement configuration: Technical discovery

XMLWordPrintable

    • Hide

      Fails against automated checks.

      Error: the repository field is empty. Nothing was checked.

      • Testing instructions are missing.

      Should these errors be fixed?

      Built on: Tue May 27 10:45:19 UTC 2025

      Show
      Fails against automated checks. Error: the repository field is empty. Nothing was checked. Testing instructions are missing. Should these errors be fixed? Built on: Tue May 27 10:45:19 UTC 2025
    • 3
    • Team Alpha - Sprint 1 I2-2025

      This issue serves as a technical discovery to investigate the current capabilities of the Moodle Forms API and assess whether it supports the dynamic behavior required to implement optional placement configurations, as illustrated in the provided prototype.

      Overview

      The prototype demonstrates a form scenario where an autocomplete form element is used to select one or more placement types. Each selected placement type should dynamically reveal a corresponding configuration section on the form. These sections are initially hidden and should only become visible when their associated placement type is selected. When a placement type is deselected or removed, the related section should be hidden again.

      This behavior partially mimics a tag-selection interface, where the autocomplete field supports multi-selection, however it also needs to dynamically control the visibility of specific form sections in real-time.

      Scope

      • Evaluate whether Moodle’s Forms API supports this functionality natively.
      • Identify available API features (e.g., setting element dependencies, dependency conditions, etc.) that could be used to implement this behavior.
      • If supported, document how to configure this functionality using built-in methods.
      • If not supported, propose the necessary customizations, extensions, or alternative approaches.

            andrew.gosali@moodle.com Andrew Gosali
            Geshoski Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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