Make number-type inputs properly optional #60

Merged
BobdaFett merged 3 commits from fix/optional-number-inputs into main 2026-02-11 17:18:09 +00:00
BobdaFett commented 2026-02-11 16:48:56 +00:00 (Migrated from github.com)

This PR fixes optional number (and also email) input fields by not validating empty strings, which are, by definintion, invalid numbers or emails.

This also allows users to type decimal values, instead of blocking the "." character.

This PR fixes optional number (and also email) input fields by not validating empty strings, which are, by definintion, invalid numbers or emails. This also allows users to type decimal values, instead of blocking the "." character.
Sign in to join this conversation.