EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

CustomFormType labels are not automatically generated anymore

Open noeyxe opened this issue 1 year ago • 2 comments

Hi,

Since 4.9.3 update, field label (not specified or null) on CustomFormType are not automatically generated anymore. Previously, it was generated by field name (same behaviour than Fields).

To be more specific, here is my use case :

ReversationCrud calls an ApplicantType (custom form type). ApplicantType calls many fields from Applicant entity (firstName, lastName ...)

class ApplicantType extends AbstractType
-----
$builder
    ->add('firstName', TextType::class, [

    ])
    ->add('lastName', TextType::class, [

    ])
;

Before 4.9.3, label firstName was automatically generated (First Name) but nothing appears since 4.9.3.

Is that a bug or just wanted behaviour ?

noeyxe avatar Nov 06 '23 10:11 noeyxe

Have you seen issue #6001 ?

tbredillet avatar Nov 06 '23 14:11 tbredillet

I'm discovering it ! It seems to fit my issue. Waiting for it !

Thank's, sorry for troubles

noeyxe avatar Nov 06 '23 15:11 noeyxe