title: Symfony2 set selected in EntityType
body: <p>i have a problem when I would to set a default value in a select (selected="selected") in a form generated with Symfony 2 (2.8.9).</p>
  
  <p>I have this code in my controller:</p>
  
  <pre><code>$news = new News();
  $news-&gt;setCategory(1);
  //create form
  $form = $this-&gt;createForm(NewsType::class, $news);
  </code></pre>
  
  <p>And this in my FormType</p>
  
  <pre><code>public function buildForm(FormBuilderInterface $builder, array $options)
  { 
       $builder-&gt;add('category', EntityType::class,
              array(
                  'placeholder' =&gt; 'Choise',
                  'class' =&gt; 'AppBundle:NewsCat',
                  'choice_label' =&gt; 'name'
              ));
  }
  </code></pre>
  
  <p>AppBundle:NewsCat create a list of id => name (ex: 1 => 'Sport', 2 => 'Politic', etc), and I want that when I setCategory(1) it should be seen "Sport" as selected="selected" in my select.</p>
  
  <p>Now i see ever "Choise".</p>
  
  <p>I have tried to search everywhere on the web, I hope you can help me :)</p>
  
  <p>Thanks to all</p>
  
  <p><a href="http://i.stack.imgur.com/PoVUT.png" rel="nofollow">HTML code screen</a></p>