You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of this package are you using?
latest
What operating system, Node.js, and npm version?
node v20 npm v9
What happened?
required_if is unable to handle numeric values, so if i do
required_if:age,16
when i send {age: 16} it does not pass, but when i do {age: "16"} it passes.
What did you expect to happen?
It should pass with {age: 16} where 16 is number and not string
Are you willing to submit a pull request to fix this bug?
Not at this moment
The text was updated successfully, but these errors were encountered:
What version of this package are you using?
latest
What operating system, Node.js, and npm version?
node v20 npm v9
What happened?
required_if is unable to handle numeric values, so if i do
required_if:age,16
when i send {age: 16} it does not pass, but when i do {age: "16"} it passes.
What did you expect to happen?
It should pass with {age: 16} where 16 is number and not string
Are you willing to submit a pull request to fix this bug?
Not at this moment
The text was updated successfully, but these errors were encountered: