At the moment we can add simple dropdown to the backed form, but it would be nice to have an option to add grouped dropdowns as well.
public function getGroupedOptions($value, $formData)
{
return ['group1' => ['option1', 'option2'], 'group2' => ['option1', 'option2']];
}