diff --git a/packages/ra-ui-materialui/src/input/SelectArrayInput.tsx b/packages/ra-ui-materialui/src/input/SelectArrayInput.tsx index 5409b4fa6b1..347124e57cb 100644 --- a/packages/ra-ui-materialui/src/input/SelectArrayInput.tsx +++ b/packages/ra-ui-materialui/src/input/SelectArrayInput.tsx @@ -209,7 +209,7 @@ const SelectArrayInput: FunctionComponent< variant={variant} {...sanitizeRestProps(rest)} > - + )} data-testid="selectArray" - margin={margin} variant={variant} {...input} value={input.value || []}