Skip to content

Commit

Permalink
fix: form initial value type (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
keita-determined authored Feb 23, 2024
1 parent 93db8f0 commit 0e4822b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kit/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface FormItemProps {
extra?: ReactNode;
field?: AntdFormListFieldData;
hidden?: boolean;
initialValue?: string | number | Primitive;
initialValue?: Primitive | Primitive[];
label?: ReactNode;
labelCol?: GridCol; // https://ant.design/components/grid#col
max?: number;
Expand Down

0 comments on commit 0e4822b

Please sign in to comment.