aboutsummaryrefslogtreecommitdiff
path: root/packages/exchange-backoffice-ui/src/forms/InputLine.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-10 15:01:56 -0300
committerSebastian <sebasjm@gmail.com>2023-05-10 15:01:56 -0300
commit55a1e8c6e1ab34702525aadf18b1acce2d06e616 (patch)
treedf430fee9ba715fc64c342052b43c1b66a532cd7 /packages/exchange-backoffice-ui/src/forms/InputLine.tsx
parentf281803f1e555b8e8c1e76612b1f6b7128033cd6 (diff)
fix form
Diffstat (limited to 'packages/exchange-backoffice-ui/src/forms/InputLine.tsx')
-rw-r--r--packages/exchange-backoffice-ui/src/forms/InputLine.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/exchange-backoffice-ui/src/forms/InputLine.tsx b/packages/exchange-backoffice-ui/src/forms/InputLine.tsx
index 0870e885a..2a5245ddf 100644
--- a/packages/exchange-backoffice-ui/src/forms/InputLine.tsx
+++ b/packages/exchange-backoffice-ui/src/forms/InputLine.tsx
@@ -243,7 +243,7 @@ export function InputLine<T>(props: { type: string } & UIFormProps<T>): VNode {
onChange(fromString(e.currentTarget.value));
}}
placeholder={placeholder ? placeholder : undefined}
- value={toString(value)}
+ defaultValue={toString(value)}
disabled={state.disabled}
aria-invalid={showError}
// aria-describedby="email-error"
@@ -262,7 +262,7 @@ export function InputLine<T>(props: { type: string } & UIFormProps<T>): VNode {
onChange(fromString(e.currentTarget.value));
}}
placeholder={placeholder ? placeholder : undefined}
- value={toString(value)}
+ defaultValue={toString(value)}
disabled={state.disabled}
aria-invalid={showError}
// aria-describedby="email-error"