MDL-68353 form: Removed the size attribute
authorShamim Rezaie <shamim@moodle.com>
Tue, 7 Apr 2020 14:04:12 +0000 (00:04 +1000)
committerShamim Rezaie <shamim@moodle.com>
Fri, 29 May 2020 03:17:08 +0000 (13:17 +1000)
The size attribute does not work with the checkbox input type.

lib/form/templates/element-checkbox-inline.mustache

index 994ebc5..fb90de4 100644 (file)
@@ -13,7 +13,6 @@
         value="1"
     {{/element.value}}
     {{#element.checked}}checked{{/element.checked}}
-    size="{{element.size}}"
     {{#error}}
         autofocus aria-describedby="{{element.iderror}}"
     {{/error}}