diff --git a/docs/translations/api-docs/autocomplete/autocomplete.json b/docs/translations/api-docs/autocomplete/autocomplete.json index b41da502911f13..e99c73796941ce 100644 --- a/docs/translations/api-docs/autocomplete/autocomplete.json +++ b/docs/translations/api-docs/autocomplete/autocomplete.json @@ -30,7 +30,7 @@ "getOptionSelected": "Used to determine if an option is selected, considering the current value(s). Uses strict equality by default. ⚠️ Both arguments need to be handled, an option can only match with one value.

Signature:
function(option: T, value: T) => boolean
option: The option to test.
value: The value to test against.", "groupBy": "If provided, the options will be grouped under the returned string. The groupBy value is also used as the text for group headings when renderGroup is not provided.

Signature:
function(options: T) => string
options: The options to group.", "handleHomeEndKeys": "If true, the component handles the "Home" and "End" keys when the popup is open. It should move focus to the first option and last option, respectively.", - "id": "This prop is used to help implement the accessibility logic. If you don't provide this prop. It falls back to a randomly generated id.", + "id": "This prop is used to help implement the accessibility logic. If you don't provide an id it will fall back to a randomly generated one.", "includeInputInList": "If true, the highlight can move to the input.", "inputValue": "The input value.", "limitTags": "The maximum number of tags that will be visible when not focused. Set -1 to disable the limit.", diff --git a/packages/material-ui/src/Autocomplete/Autocomplete.js b/packages/material-ui/src/Autocomplete/Autocomplete.js index 6cb85d2cbb2dc6..e74a5a47bd3c3d 100644 --- a/packages/material-ui/src/Autocomplete/Autocomplete.js +++ b/packages/material-ui/src/Autocomplete/Autocomplete.js @@ -879,7 +879,7 @@ Autocomplete.propTypes /* remove-proptypes */ = { handleHomeEndKeys: PropTypes.bool, /** * This prop is used to help implement the accessibility logic. - * If you don't provide this prop. It falls back to a randomly generated id. + * If you don't provide an id it will fall back to a randomly generated one. */ id: PropTypes.string, /** diff --git a/packages/material-ui/src/useAutocomplete/useAutocomplete.d.ts b/packages/material-ui/src/useAutocomplete/useAutocomplete.d.ts index e4e40085fb34d7..81a35c1cd74bf4 100644 --- a/packages/material-ui/src/useAutocomplete/useAutocomplete.d.ts +++ b/packages/material-ui/src/useAutocomplete/useAutocomplete.d.ts @@ -165,7 +165,7 @@ export interface UseAutocompleteProps< handleHomeEndKeys?: boolean; /** * This prop is used to help implement the accessibility logic. - * If you don't provide this prop. It falls back to a randomly generated id. + * If you don't provide an id it will fall back to a randomly generated one. */ id?: string; /**