-
-
Notifications
You must be signed in to change notification settings - Fork 244
v.decimal()
requires a leading zero to be considered a valid decimal
#1072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for creating this issue. I am not sure if we should change this. The In the meantime |
Thanks for replying so quickly! Yea, I honestly wasn't sure if this was intended behavior or not. In our case a user types in we can totally work with a regex modification if that behavior is intended. |
I will create a PR |
nice, sorry I couldn't find time for this last week. i appreciate the update! |
I threw together an example using the valibot playground.
.1
throws an error0.1
is fine.and the output here
The text was updated successfully, but these errors were encountered: