Formkit Number in Float mode fails to submit #1299
Labels
🐛 bug-report
Bug is reported, but not verified by team
⛑ Needs triage
The issue has not yet been examined by the FormKit team.
Reproduction
https://formkit.link/edda9b935fc8f5906b4a5a5902b8fadc
Describe the bug
Formkit Number input fails on submit if the number is a float instead of an int. It says that it needs to be one of the two closest intigers. The replication is from the docs https://formkit.com/inputs/number#cast-to-number with a submit handler enabled.
I
Environment
• OS: windows
• Browser: edge
• Version: 1.6.2
The text was updated successfully, but these errors were encountered: