diff --git a/packages/core/components/InputOrGroup/index.tsx b/packages/core/components/InputOrGroup/index.tsx index 3a490b7d24..cd20bc9c20 100644 --- a/packages/core/components/InputOrGroup/index.tsx +++ b/packages/core/components/InputOrGroup/index.tsx @@ -199,7 +199,7 @@ export const InputOrGroup = ({ className={getClassName("input")} autoComplete="off" name={name} - value={value} + value={typeof value === "undefined" ? "" : value} onChange={(e) => onChange(e.currentTarget.value)} readOnly={readOnly} rows={5} @@ -291,7 +291,7 @@ export const InputOrGroup = ({ autoComplete="off" type={field.type} name={name} - value={value} + value={typeof value === "undefined" ? "" : value} onChange={(e) => { if (field.type === "number") { onChange(Number(e.currentTarget.value));