Allow placeholder attributes for input fields

pull/1/head
thomascube 13 years ago
parent 3a86e26768
commit fd6f6e27c4

@ -318,8 +318,8 @@ class html_inputfield extends html
protected $tagname = 'input'; protected $tagname = 'input';
protected $type = 'text'; protected $type = 'text';
protected $allowed = array('type','name','value','size','tabindex', protected $allowed = array('type','name','value','size','tabindex',
'autocomplete','checked','onchange','onclick','disabled','readonly', 'autocomplete','checked','onchange','onclick','disabled','readonly',
'spellcheck','results','maxlength','src','multiple'); 'spellcheck','results','maxlength','src','multiple','placeholder');
/** /**
* Object constructor * Object constructor

Loading…
Cancel
Save