fix(web): allow numeric input fields to be zero (#21258)

This commit is contained in:
Jason Rasmussen
2025-08-25 13:31:32 -04:00
committed by GitHub
parent 7531ffcbfb
commit 38a8a67be9

View File

@@ -25,7 +25,8 @@
}: Props = $props();
const oninput = () => {
if (!value) {
// value can be 0
if (value === undefined) {
return;
}