Skip to content

Commit

Permalink
No need for that in full width options
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Sep 23, 2024
1 parent 4270583 commit 433e889
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/ra-ui-materialui/src/input/SelectArrayInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ export const SelectArrayInput = (props: SelectArrayInputProps) => {
readOnly={readOnly}
data-testid="selectArray"
size={size}
MenuProps={defaultMenuProps}
{...field}
{...options}
onChange={handleChangeWithCreateSupport}
Expand Down Expand Up @@ -378,13 +377,6 @@ export type SelectArrayInputProps = ChoicesProps &
onChange?: (event: ChangeEvent<HTMLInputElement> | RaRecord) => void;
};

const defaultMenuProps = {
anchorOrigin: {
vertical: 'bottom' as const,
horizontal: 'left' as const,
},
};

const sanitizeRestProps = ({
alwaysOn,
choices,
Expand Down

0 comments on commit 433e889

Please sign in to comment.