diff --git a/docs/data/migration/migration-pickers-v7/migration-pickers-v7.md b/docs/data/migration/migration-pickers-v7/migration-pickers-v7.md index a8bbf719c1290..d84acfee829ff 100644 --- a/docs/data/migration/migration-pickers-v7/migration-pickers-v7.md +++ b/docs/data/migration/migration-pickers-v7/migration-pickers-v7.md @@ -992,7 +992,7 @@ This hook has been removed in favor of the new `useMultiInputRangeField` hook wi ``` :::success -The associated types have also been removed. — [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types). +The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types). ::: ### `useMultiInputTimeRangeField` @@ -1044,7 +1044,7 @@ This hook has been removed in favor of the new `useMultiInputRangeField` hook wi ``` :::success -The associated types have also been removed. — [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types). +The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types). ::: ### `useMultiInputDateTimeRangeField` @@ -1096,7 +1096,7 @@ This hook has been removed in favor of the new `useMultiInputRangeField` hook wi ``` :::success -The associated types have also been removed. — [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types). +The associated types have also been removed. [Learn how to migrate them](/x/migration/migration-pickers-v7/#removed-types). ::: ### `usePickerContext` diff --git a/packages/x-date-pickers-pro/src/hooks/useMultiInputRangeField/useMultiInputRangeField.ts b/packages/x-date-pickers-pro/src/hooks/useMultiInputRangeField/useMultiInputRangeField.ts index ae80068bcbdc6..a7517a9a0d74e 100644 --- a/packages/x-date-pickers-pro/src/hooks/useMultiInputRangeField/useMultiInputRangeField.ts +++ b/packages/x-date-pickers-pro/src/hooks/useMultiInputRangeField/useMultiInputRangeField.ts @@ -195,4 +195,5 @@ interface UseMultiInputRangeFieldReturnValue< UseFieldResponse, TForwardedProps>, 'clearable' | 'onClear' >; + enableAccessibleFieldDOMStructure: PickerManagerEnableAccessibleFieldDOMStructure; } diff --git a/packages/x-date-pickers-pro/src/internals/utils/createMultiInputRangeField/createMultiInputRangeField.tsx b/packages/x-date-pickers-pro/src/internals/utils/createMultiInputRangeField/createMultiInputRangeField.tsx index a620b3b399d10..f25b62d655624 100644 --- a/packages/x-date-pickers-pro/src/internals/utils/createMultiInputRangeField/createMultiInputRangeField.tsx +++ b/packages/x-date-pickers-pro/src/internals/utils/createMultiInputRangeField/createMultiInputRangeField.tsx @@ -83,9 +83,7 @@ export function createMultiInputRangeField