PropelBundle
PropelBundle copied to clipboard
Propel form type model w. group_by is rendered without property display
Env SF2.7.4 / Propel1
I've created a choice form type like that:
$builder->add('mychoice', 'model', array(
'class' => 'Foo\\Bar',
'query' => FooBarQuery::create()->filterBySomething(true),
'group_by' => 'example',
'property' => 'title',
'multiple' => false,
'expanded' => false,
));
The rendering choice list is ok with good optgroup
select options but the title's property
is not displayed - id's property instead. If I remove the group_by
option, the title property
is well displayed.
What's wrong?
any idea out there? :+1:
thanks
I've give a try today for this one, but hard to find where it fails with all the form stuff & ChoiceList inheritence. I can't find where it fails, somewhere in the propel1-bridge
: is there a github repo out there where I can post this problem apart this one?
Thanks.
Open bounty of +100 for help on this one! :+1:
http://stackoverflow.com/questions/32602183/propel-form-type-model-w-group-by-is-rendered-without-property-display