Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Validator] NotChoice? #26074

Closed
Closed
@dkarlovi

Description

@dkarlovi
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 3.3

I'm probably missing something very obvious, but how do I do a validation opposite of Choice, to make sure a value is not part of some predefined set?

I can obviously do a Callback, but that's not as clean as I'd like.

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