Summary:
dropdowns with optgroups not rendered in admin_edit_record.tpl
Detailed Description:
{$renderer->render( $field, $val )} doesn't seem to take into account optgroups
in a form dropdown. $val is populated, but the dropdown is rendered empty with
no options and no selection.