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, 2 insertions, 0 deletions
diff --git a/components/ui.tsx b/components/ui.tsx
index a0c34a4..8745c67 100644
--- a/components/ui.tsx
+++ b/components/ui.tsx
@@ -66,6 +66,7 @@ export function Input(props: {
id?: string;
min?: number;
max?: number;
+ value?: string|number;
}) {
return <input
id={props.id}
@@ -73,6 +74,7 @@ export function Input(props: {
min={props.min} max={props.max}
placeholder={props.label}
spellCheck={false}
+ value={props.value}
style={{
padding: 12,
border: 0,