Skip to content

Repeated field type required is a required option #11694

@kix

Description

@kix

The Symfony\Component\Form\Extension\Core\Type\RepeatedType throws Illegal string offset 'required' when a required option is not passed to the form builder. Could this be resolved via the OptionsResolverInterface::setRequired() method call in the RepeatedType::setDefaultOptions method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions