Kunstmaan / KunstmaanBundlesCMS

An advanced yet user-friendly content management system, based on the full stack Symfony framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.
https://kunstmaancms.be
MIT License
406 stars 188 forks source link

[FormBundle] ChoiceType multiple, error Expected an array #3326

Closed dannyvw closed 7 months ago

dannyvw commented 10 months ago

Adding an Choice Input pagepart without required option it triggers an "Excepted an array" error from the Symfony ChoiceType. Removing this line https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/6.x/src/Kunstmaan/FormBundle/Form/ChoiceFormSubmissionType.php#L38 fixed the issue