Closed mareckigit closed 7 months ago
If form is used with Doctrine entity in Sonata Admin, $form->getParent()->getData() returns empty entity while you use create a new.
$form->getParent()->getData()
Probably VichFileType requires similar changes.
If form is used with Doctrine entity in Sonata Admin,
$form->getParent()->getData()
returns empty entity while you use create a new.Probably VichFileType requires similar changes.