fix(web): allow numeric input fields to be zero (#21258)
parent
7531ffcbfb
commit
38a8a67be9
|
|
@ -25,7 +25,8 @@
|
|||
}: Props = $props();
|
||||
|
||||
const oninput = () => {
|
||||
if (!value) {
|
||||
// value can be 0
|
||||
if (value === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue