Closed
Description
The code explaining dynamic form building uses choices_as_values as an option:
$form->add('position', EntityType::class, array(
'class' => 'AppBundle:Position',
'placeholder' => '',
'choices' => $positions,
'choices_as_values' => true,
));
}
If that's not used anymore, it can be removed. If it is, can you update the documentation to reflect how to generate dynamic forms without using choices_as_values?