0
votes

I'm developing a Symfony 5.4 site and I'm using Nucleos User Bundle and Nucleos Profile Bundle for registration and profile managing.

Profile model has a BillingData property which is associated to a BillingDataType subform. BillingData is marked with an Asset\Valid annotation which works, but I can't manage to display error messages beside BillingDataType fields.

In form vars I can see that BillingDataType subform is valid, whereas ProfileType parent form is valid, even if I set error_bubbling param to false.

So I'm wondering if there would be a way to display correctly field errors without adding a lot of custom code in template file.