Skip to content

No default value for EnumCase Validator #405

@Buzka91

Description

@Buzka91

Bug Report

Q A
Version(s) >=3.0.0

Summary

In EnumCase Validator there is no optional value for enum key.

Current behavior

Undefined index enum

How to reproduce

Do not pass enum in option array.

Expected behavior

Fix in EnumCase Validator to set default value, which will lead to throw exception.

--edit
Same as in InArray Validator

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingInvalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions