Skip to content

forms: take the choice type into account when summing up the possibility of empty_data #4007

@appeltaert

Description

@appeltaert

http://symfony.com/doc/current/reference/forms/types/choice.html#overridden-options
"If data_class is set and required is false, then null;"

this doesn't work out for a choice field with the multiple attribute for example.

symfony/symfony#11349

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