Skip to content

Commit 0c94dbf

Browse files
Merge pull request #7949 from marmelab/autocomplete-doc
[Doc] Fix AutocompleteInput choices description
2 parents 79ca09c + e3bf32c commit 0c94dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/AutocompleteInput.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It renders using MUI [Autocomplete](https://mui.com/components/autocomplete/).
1010

1111
![AutocompleteInput](./img/autocomplete-input.gif)
1212

13-
Set the `choices` attribute to determine the options list (with `id`, `name` tuples).
13+
Set the `choices` attribute to determine the options list. The value must be an array of objects exposing the `id` and `name` for each choice.
1414

1515
```jsx
1616
import { AutocompleteInput } from 'react-admin';

0 commit comments

Comments
 (0)