**Symfony version(s) affected**: 5.1.2 **Description** Form input placeholder can be empty string or false but can not be null. Why? Another attributes like for example class can by null. Error: Argument 1 passed to Symfony\Bridge\Twig\Extension\TranslationExtension::trans() must be of the type string, null given **How to reproduce** ``` public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('name', null, ['attr' => [ 'placeholder' => null, ]]) ; } ```