mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(web): allow numeric input fields to be zero (#21258)
This commit is contained in:
parent
7531ffcbfb
commit
38a8a67be9
1 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,8 @@
|
|||
}: Props = $props();
|
||||
|
||||
const oninput = () => {
|
||||
if (!value) {
|
||||
// value can be 0
|
||||
if (value === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue