Skip to content

[Form] New items in collection form type are not hydrated to proper dataClass #3694

Closed
@ghost

Description

new items in collection are not hydrated to dataClass but they are as ARRAY's

it means that after form bind i'll get :

class Foo {
    private items ->> PersistedColleaction{
        col = ArrayCollection {
            [0] = FooClass() // already in collection
            [1] = array('foo':'faa', ... ) // new items added to form are not hydrated back to proper class but they are  arrays 
        }
    }
}

... it's new feature of master branch?

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