title: How customize display data in Sonata autocomplete
body: <p>I use form field <strong>sonata_type_model_autocomplete</strong> and i want customize display. I want to get autocompleteas in the pictures:</p>
  
  <p><a href="https://i.stack.imgur.com/JHE1U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JHE1U.png" alt="autocompletea help image"></a></p>
  
  <p><a href="https://i.stack.imgur.com/8MjOp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8MjOp.jpg" alt="autocompletea help data"></a></p>
  
  <p>Do I understand correctly that the only way to do this is to override the block <strong>sonata_type_model_autocomplete_selection_format</strong> in template <strong>SonataAdminBundle:Form/Type:sonata_type_model_autocomplete.html.twig</strong>? How in <a href="https://sonata-project.org/bundles/admin/master/doc/reference/form_types.html#sonata-type-model-autocomplete" rel="nofollow noreferrer">documentation</a>.
  Next I have to create a custom controller that will give me the necessary data and fill <strong>route</strong> option. Perhaps like <a href="https://gist.github.com/chalasr/5c27ae64dc596967f18a#file-personneadmincontroller-php" rel="nofollow noreferrer">this</a>.</p>
  
  <p>Is there no a simple and ready-made solution?</p>