diff --git a/docs/pages/api-docs/autocomplete.md b/docs/pages/api-docs/autocomplete.md index 57c2711ab44c58..ae2b680e60784e 100644 --- a/docs/pages/api-docs/autocomplete.md +++ b/docs/pages/api-docs/autocomplete.md @@ -45,7 +45,6 @@ The `MuiAutocomplete` name can be used for providing [default props](/customizat | disableCloseOnSelect | bool | false | If `true`, the popup won't close when a value is selected. | | disabled | bool | false | If `true`, the input is disabled. | | disabledItemsFocusable | bool | false | If `true`, will allow focus on disabled items. | -| readOnly | bool | false | If `true`, the input is and search functionality disabled, but s still consistently styled. | | disableListWrap | bool | false | If `true`, the list box in the popup will not wrap focus. | | disablePortal | bool | false | The `Popper` content will be inside the DOM hierarchy of the parent component. | | filterOptions | func | | A filter function that determines the options that are eligible.

**Signature:**
`function(options: T[], state: object) => T[]`
*options:* The options to render.
*state:* The state of the component. | @@ -81,6 +80,7 @@ The `MuiAutocomplete` name can be used for providing [default props](/customizat | PaperComponent | elementType | Paper | The component used to render the body of the popup. | | PopperComponent | elementType | Popper | The component used to position the popup. | | popupIcon | node | <ArrowDropDownIcon /> | The icon to display in place of the default popup icon. | +| readOnly | bool | false | If `true`, the input is and search functionality disabled, but s still consistently styled. | | renderGroup | func | | Render the group.

**Signature:**
`function(option: any) => ReactNode`
*option:* The group to render. | | renderInput* | func | | Render the input.

**Signature:**
`function(params: object) => ReactNode`
| | renderOption | func | | Render the option, use `getOptionLabel` by default.

**Signature:**
`function(props: object, option: T, state: object) => ReactNode`
*props:* The props to apply on the li element.
*option:* The option to render.
*state:* The state of the component. |