Closed
Description
hi there!
validation with more than 1 level only validates the first match.
Example:
// rule
'bar.*.foo' => [
'rules' => 'required'
]
// data
"bar" => [
[
'foo' => 'baz'
],
[
'foo' => ''
]
]
the above validation should fails, however it passes. https://codeigniter4.github.io/userguide/libraries/validation.html#validating-keys-that-are-arrays
Metadata
Metadata
Assignees
Labels
No labels
Activity