symfony/symfony — pull request #10513 by cedriclombardot (2014-03-22 11:55:45+00:00)
Title: [Bridge][Propel1][Form] Model choice accept custom unique column

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT

This PR permit to do :

```` php
add('my_field', 'model', array(
'class' => 'MyClassWithSlug',
'index_property' => 'slug'
));
}
````

With this option you can hide internal ids to expose an unique column eg slug and render

```` html

{THE_VALUE}

````