Skip to content
  • Damyon Wiese's avatar
    MDL-55417 forms: Render form elements with a template · 91bda4cd
    Damyon Wiese authored and Dan Poltawski's avatar Dan Poltawski committed
    This change allows form elements to be overridden with a mustache template.
    The template can even listen for form validation errors and supply the JS to
    change the look of the form element when there is/isn't a validation error.
    
    Initial support is for all core form elements including:
    
    text, select, selectyesno and checkboxes, groups, dateselector, datetimeselector,
    autocomplete, modvisible, advcheckbox, button, duration, filemanager, filepicker, editor, static, grading,
    warning, textarea, password, url, submit, questioncategory, recaptcha.
    
    Part of MDL-55071
    91bda4cd