aboutsummaryrefslogtreecommitdiff
path: root/components/ui.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/ui.tsx')
-rw-r--r--components/ui.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/ui.tsx b/components/ui.tsx
index 8745c67..ef9d8f3 100644
--- a/components/ui.tsx
+++ b/components/ui.tsx
@@ -74,7 +74,7 @@ export function Input(props: {
min={props.min} max={props.max}
placeholder={props.label}
spellCheck={false}
- value={props.value}
+ defaultValue={props.value ? String(props.value) : ""}
style={{
padding: 12,
border: 0,