Support for optgroup's in enum select