Closed cawa-93 closed 2 years ago
Here is
For some reason rule check originalValue
but not actual value
Thanks for reporting.
Yup. That was required earlier when trim
was just an option and not the rule itself. But, we should now rely on the mutated value.
Package version
"@adonisjs/core": "5.7.6",
Node.js and npm version
node v16.14.0 npm 8.3.1
Sample Code (to reproduce the issue)
Validation is not expected to pass, but it is passing