Update html.php

added required attribute to allowed list for input fields
pull/96/head
Dennis1993 11 years ago
parent 7d4b41f592
commit ec031a35f1

@ -358,7 +358,7 @@ class html_inputfield extends html
protected $tagname = 'input';
protected $type = 'text';
protected $allowed = array(
'type','name','value','size','tabindex','autocapitalize',
'type','name','value','size','tabindex','autocapitalize','required',
'autocomplete','checked','onchange','onclick','disabled','readonly',
'spellcheck','results','maxlength','src','multiple','accept',
'placeholder','autofocus',

Loading…
Cancel
Save