-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugBug or defectBug or defect
Milestone
Description
hi,
When using min(0), the describe method returns no argument for the rule.
{
"rules": [ {
"name": "min"
}]
}when i should have this
{
"rules": [{
"name": "min",
"arg": 0
}]
}After investigating, I think that's because the condition should be false only for an undefined argument.
Line 499 in 2340d14
| if (validator.arg) { |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugBug or defectBug or defect