We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91c8f11 commit 75517d9Copy full SHA for 75517d9
1 file changed
packages/ra-ui-materialui/src/input/ArrayInput/ArrayInput.tsx
@@ -91,7 +91,10 @@ export const ArrayInput = (inProps: ArrayInputProps) => {
91
const { subscribe } = useFormContext();
92
const { isSubmitted } = useFormState();
93
const [{ error, hasBeenInteractedWith }, setArrayInputState] =
94
- React.useState({
+ React.useState<{
95
+ error: any;
96
+ hasBeenInteractedWith: boolean;
97
+ }>({
98
error: undefined,
99
hasBeenInteractedWith: false,
100
});
0 commit comments