Hi,
every time i use addExtraClass on my forms i get a space before the classname. Is there a way to avoid this?
$anredeField = new DropdownField('Anrede', 'Anrede', $listsForAnrede);
$anredeField->ExtraClass('select');
<select name="Anrede" id="Form_SubscribeForm_Anrede" class=" select"><option value="Herr">Herr</option><option value="Frau">Frau</option></select>
Greetings, Carsten.