Skip to content

Commit 2201187

Browse files
committed
[Doc] fix a typo in variable template example using polyglot
1 parent 42f4d2e commit 2201187

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/AutocompleteInput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ const CreateCategory = () => {
831831

832832
**Tip:** As showcased in this example, react-admin provides a convenient hook for accessing the filter the user has already input in the `<AutocompleteInput>`: `useCreateSuggestionContext`.
833833

834-
The `Create %{item}%` option will only be displayed once the user has already set a filter (by typing in some input). If you expect your users to create new items often, you can make this more user-friendly by adding a placeholder text like this:
834+
The `Create %{item}` option will only be displayed once the user has already set a filter (by typing in some input). If you expect your users to create new items often, you can make this more user-friendly by adding a placeholder text like this:
835835

836836
{% raw %}
837837
```diff

0 commit comments

Comments
 (0)