From e3bf32c80b116fc130bfef70c51f23ae7ead6413 Mon Sep 17 00:00:00 2001 From: fzaninotto Date: Fri, 8 Jul 2022 11:07:43 +0200 Subject: [PATCH] [Doc] Fix AutocompleteInput choices description Supersedes #7843 --- docs/AutocompleteInput.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/AutocompleteInput.md b/docs/AutocompleteInput.md index 23c1ccfe1c5..debc011c33c 100644 --- a/docs/AutocompleteInput.md +++ b/docs/AutocompleteInput.md @@ -10,7 +10,7 @@ It renders using MUI [Autocomplete](https://mui.com/components/autocomplete/). ![AutocompleteInput](./img/autocomplete-input.gif) -Set the `choices` attribute to determine the options list (with `id`, `name` tuples). +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. ```jsx import { AutocompleteInput } from 'react-admin';