Skip to content

Commit c9839f2

Browse files
committed
fix: pass type to input
1 parent 9231285 commit c9839f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dynamic-form-control.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function DynamicFormControl({ inputField, field }: Props) {
5050

5151
return (
5252
<FormControl>
53-
<Input {...field} />
53+
<Input type={inputField.type} {...field} />
5454
</FormControl>
5555
);
5656
}

0 commit comments

Comments
 (0)