parse $extra attributes in form_dropdown.