Open welcoMattic opened 5 years ago
I have the same issue. The field validation logic uses the list of fields that Doctrine has mapped. Any extra fields will be marked as invalid. Might look at this later, for now I have little time to look further into this, I can stay at version 2 for now.
Hi, thanks a lot for this bundle and TranslationFormBundle, it helps me in many projects !
So, I have a little bit complex context. I work with EasyAdminBundle:
I have a
VideoBlock
class, translatable (and aVideoBlockTranslation
class). In VideoBlock class I have a$videoMedia
property, which is declared as follow:CatalogMedia
extract:It works like a charm, but now I would like to be able to upload a video for each language. Basically, move
$videoMedia
inVideoBlockTranslation
. Well, here is the problem. If I do this, I can't make my form works. The form is configured like this:If I move
videoMedia
, undertranslations...fields
, Symfony tells me that it can't findvideoMedia
property inVideoBlockTranslation
class :thinking:May be I missed something, but I think that the problem is under AutoFormBundle and about Embedded properties.
Thanks for helping