how can i set default value in sonata admin bundle the data option is missing in configureFormFields method
protected function configureFormFields(FormMappe
I presume you've probably already solved this by now, but as a reference to anyone else you can override the getNewInstance() method and set the default value on the object:
public function getNewInstance()
{
$instance = parent::getNewInstance();
$instance->setName('my default value');
return $instance;
}