8000 [3.2][Form] Empty strings instead of null in CountryType · Issue #20759 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[3.2][Form] Empty strings instead of null in CountryType #20759
Closed
@geoffrey-brier

Description

@geoffrey-brier

After upgrading in 3.2, when I submit a form which contains some CountryType elements and I don't submit those ones, then the value saved is an empty string while in 3.1 and below it was null.

According to the documentation of the CountryType, it's the intended behaviour but my tests are telling me that something changed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0