Skip to content

Multiple groups contraints dont work with Valid Contraint and OptionResolver #29554

Closed
@testcodeforme

Description

@testcodeforme

Symfony version(s) affected: 4.1.6

Description
I try use multiples groups in Contraint Valid into CollectionType and select what groups apply in OptionResolver of Entity embedded.

How to reproduce
I created it Project with minimum code and README file explaining how to reproduce Bugs
https://github.com/testcodeforme/symfonymultigroupvalid

Additional context
I not sure if Contraint Valid only can valid with only a group when it used into CollectionType or if need apply another code... and sorry for my bad English :(

I dont test it problem in others version of Symfony

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