Skip to content

choice_value callback argument can be null #7311

Closed
@xabbuh

Description

@xabbuh

For example, when the initial data of the form type is null, the callback used for the choice_value option will receive null as an argument. We need to make this clear in the reference of the ChoiceType. See symfony/symfony#21116 for more context information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FormactionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions