Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HorizontalFormTypeExtension doesn’t play well with CollectionType in latest Symfony stable #1167

@corphi

Description

@corphi

With symfony/symfony#18317 collection form prototypes have their parent set, but there is no inverse direction, i.e. the prototype is not part of the collection children.

HorizontalFormTypeExtension sets the horizontal view variable on root forms and bubbles its value to the form children. As prototypes are no longer root forms, their value stays null and evaluates to false in the template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions