diff --git a/docs/data/data-grid/custom-columns/EditingWithDatePickers.js b/docs/data/data-grid/custom-columns/EditingWithDatePickers.js
index 9e25b5f374f10..24d5a9bea8f0f 100644
--- a/docs/data/data-grid/custom-columns/EditingWithDatePickers.js
+++ b/docs/data/data-grid/custom-columns/EditingWithDatePickers.js
@@ -173,7 +173,7 @@ const GridEditDateInput = styled(InputBase)({
});
function WrappedGridEditDateInput(props) {
- const { InputProps, ...other } = props;
+ const { InputProps, focused, ...other } = props;
return ;
}
diff --git a/docs/data/data-grid/custom-columns/EditingWithDatePickers.tsx b/docs/data/data-grid/custom-columns/EditingWithDatePickers.tsx
index 647f06ded3c93..d935c6e716bba 100644
--- a/docs/data/data-grid/custom-columns/EditingWithDatePickers.tsx
+++ b/docs/data/data-grid/custom-columns/EditingWithDatePickers.tsx
@@ -187,7 +187,7 @@ const GridEditDateInput = styled(InputBase)({
});
function WrappedGridEditDateInput(props: TextFieldProps) {
- const { InputProps, ...other } = props;
+ const { InputProps, focused, ...other } = props;
return (
);