Colonel_mortis Posted November 20, 2015 Share Posted November 20, 2015 I found myself needing to add autocomplete="off" and autofocus attributes to a form element for a plugin, and the only way to do it was to create an entire new form helper that extends the type that I want, and a template to go with it. it would be great to be able to add 'attributes' => array ('autocomplete' => 'off', 'autofocus' => ''); in the options array, and for that to do it for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.