title: How to configure a Sonata Field Type outside of the Sonata Admin in a Symfony2 Form Class?
body: <h2>Use case:</h2>
  <p>After <strong>using sonata_type_model_list outside of Sonata Admin</strong>*, I want to show the same display as in the admin as the following:</p>
  <p><img src="https://i.stack.imgur.com/59zYg.png" alt="sonata-type-model-list field correct display" /></p>
  <p>However when I add my field to my method buildForm like this:</p>
  <pre><code>[...]
  -&gt;add('position', 'sonata_type_model_list', array(
      'model_manager' =&gt; $categoryAdmin-&gt;getModelManager(),
  ))
  [...]
  </code></pre>
  <p>my field looks like that :</p>
  <p><img src="https://i.stack.imgur.com/NRWVh.png" alt="sonata-type-model-list field wrong display" /></p>
  <p>Does someone know <strong>how to configure the field to get this display outside of the Sonata Admin</strong>?</p>
  <hr />
  <p>* See my previous question/use case with title &quot;How to use sonata_type_model_list outside of Sonata Admin?&quot;</p>