Availity / availity-reactstrap-validation

Easy to use React validation components compatible for reactstrap.
https://availity.github.io/availity-reactstrap-validation/
MIT License
191 stars 70 forks source link

fix: fix step validator for exponent #143

Closed minuk7777 closed 5 years ago

minuk7777 commented 5 years ago

ex)

for numbers like 0.00000001 it's 1e-8 which doesn't includes dot. so it can't be validated.

netlify[bot] commented 5 years ago

Deploy preview for availity-reactstrap-validation ready!

Built with commit a5911d9b83780180800bd6b417340ba98c089716

https://deploy-preview-143--availity-reactstrap-validation.netlify.com

minuk7777 commented 5 years ago

I was considering e+, at first. But in common use cases it won't matter. So I amended my commit.