Skip to content

UniqueEntity message can't include the value #6929

Closed
@javiereguiluz

Description

@javiereguiluz

Constraint messages can include {{ value }} in the message option to display the wrong value introduced by the user. Apparently, you can't do the same in the UniqueEntity constraint, so it should be documented here: http://symfony.com/doc/current/reference/constraints/UniqueEntity.html#message

Metadata

Metadata

Assignees

No one assigned

    Labels

    ValidatorhasPRA 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