Moodle

formslib: repeat elements should allow element templates (with PATCH!)

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.5, 2.0
  • Fix Version/s: STABLE backlog
  • Component/s: Forms Library
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE

Description

setting the template in the calling code doesn't work, I guess because the element names get rewritten or something funky. Anyway I made a patch to support passing in the element template in $options['template'].

I'll commit this if someone can review it.

Activity

Hide
Tim Hunt added a comment -

Same comment as on MDL-18400. Need to patch the Moodle readme as well. I am inclined to commit these, because the Matrix question type looks quite nice.

Show
Tim Hunt added a comment - Same comment as on MDL-18400. Need to patch the Moodle readme as well. I am inclined to commit these, because the Matrix question type looks quite nice.
Hide
Penny Leach added a comment -

acutally this one doesn't touch quickforms itself, just lib/formslib.php

Show
Penny Leach added a comment - acutally this one doesn't touch quickforms itself, just lib/formslib.php

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: