Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3924

How to change input "id" in FormType.php Symfony 4

$
0
0

I have tried to change the attr "id" in a FormType.php file :

->add('content', TextareaType::class,(['label' => "Description détaillée",'attr' => ['placeholder' => "Donnez une description qui donne vraiment envoe de venir chez vous !",'id' => "test_id"     ]]))

I only want to change the "ID". How can I do?


Viewing all articles
Browse latest Browse all 3924

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>