My model looks like this:
Order --1m-- Address --1---m-- AddressType
Actually there are 3 different AddressType.
I would like to split the collection of Address in these 3 types in my form.
Actually, I tried it with this code:
$builder-add('send_addresses', 'collection', array(
I think, I had a similar problem.
Try this in the Profile constructor:
public function __construct() {
$this-profileAddress = new
\Doctrine\Common\Collections\ArrayCollection();
}
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Hm, the format value is only available for the date widget. So this can not
be used either.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users
Thank you for your answer.
I updated today to Beta5 and now it works without changing anything.
Andreas
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups
I found out, how I can save the addresses.
But I can't get back my saved addresses in the form. Any Idea?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups