Skip to content

Commit 5cd8c5a

Browse files
authored
Merge pull request #10827 from marmelab/fix-fullwidth-regression
Fix `fullWidth` is not propagated anymore
2 parents 11b7192 + 64d186d commit 5cd8c5a

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

packages/ra-ui-materialui/src/input/DatagridInput.stories.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const BookEdit = () => {
4747
<DatagridInput
4848
source="author"
4949
choices={choices}
50-
fullWidth
5150
rowClick="toggleSelection"
5251
>
5352
<TextField source="name" />

packages/ra-ui-materialui/src/input/DatagridInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export const DatagridInput = (inProps: DatagridInputProps) => {
175175

176176
export type DatagridInputProps = Omit<
177177
CommonInputProps,
178-
'source' | 'readOnly' | 'disabled'
178+
'fullWidth' | 'source' | 'readOnly' | 'disabled'
179179
> &
180180
ChoicesProps &
181181
Omit<SupportCreateSuggestionOptions, 'handleChange'> &

packages/ra-ui-materialui/src/input/sanitizeInputRestProps.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@ export const sanitizeInputRestProps = ({
4141
validate,
4242
validateFields,
4343
value,
44-
fullWidth,
4544
...rest
4645
}: any) => rest;

0 commit comments

Comments
 (0)