-
-
Notifications
You must be signed in to change notification settings - Fork 61
No default value for EnumCase Validator #405
Copy link
Copy link
Open
Labels
BugSomething isn't workingSomething isn't workingInvalidThis doesn't seem rightThis doesn't seem right
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingInvalidThis doesn't seem rightThis doesn't seem right