Open saatsazov opened 4 months ago
I'm also running into the same problem Here are the screenshots
If someone knows it is possible to hide the Enum values not in my only() call.\ Let me know! Or if its not possible would be awesome if it was added as feature
Rule::enum
ignoresonly
orexcept
methods, which allows you to limit which enum values are allowed.https://laravel.com/docs/master/validation#rule-enum
I've updated to latest version
0.11.4.
expected behavior
It should limit enum values which passed as argument to
only
functionPS. Thank you for an amazing library.