Open Jesse0Michael opened 2 years ago
Sorry, When i initially went looking for this feature i didn't find:
https://github.com/asaskevich/govalidator/issues/441 https://github.com/asaskevich/govalidator/pull/442
but found those when looking into another issue
Hello guys! I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back Link to my repo: create issue there and we'll discuss it.
Description
allow the range validator to support negative param values by adjusting the regex. ie:
range(-10|10)
Currently you would get the error:
Range3: The following validator is invalid or can't be applied to the field: "range(-10|10)"