Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5345

Dataformfield select: pattern fieldname:key does not display the selected key

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.7.3, 2.8
    • 2.6.5, 2.7.2
    • Set: Dataform
    • None
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE

    Description

      Expected behavior:

      Add a select field QA with options
      OP1
      OP2
      OP3
      Add an aligned view and in the entry template add the pattern
      [[QA:key]]
      (the template should have both [[QA]] and [[QA:key]])

      Go to Browse
      Press Add a new entry
      A new entry form should open and display one dropdown for the QA field.
      Save
      An entry is added and displays nothing for the QA field.

      Edit the entry
      Select OP2
      Save
      The entry displays OP2 (for [[QA]]) and 2 (for [[QA:key]])

      Attachments

        Activity

          People

            itamart Itamar Tzadok
            itamart Itamar Tzadok
            Itamar Tzadok Itamar Tzadok
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10/Nov/14