Skip to content

Commit 444e0fd

Browse files
committed
RHFInput default value.
1 parent 96cb75a commit 444e0fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/RHFInput/RHFInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function RHFInput<T extends object, K extends Path<T>>({
4343
<div className="space-y-1">
4444
<Input
4545
{...field}
46+
value={field.value ?? ""}
4647
label={label}
4748
scale={scale}
4849
color={color}

0 commit comments

Comments
 (0)