Closed
Description
Hi,
The new version of the Form API break my forms using the virtual functionality.
Whereas my code seems correct and work well before.
HomepageLocalType :
$builder->add('homepage', new HomepageType(), array(
'virtual' => true
));
Error :
Neither property "homepage" nor method "getHomepage()" nor method "isHomepage()" exists in class "[...]\Entity\HomepageLocal"
The second solution to define a virtual form, directly with getDefaultOptions() in HomepageType() give the same result.
Nobody else have this issue?