Skip to content

Commit 589b530

Browse files
authored
Merge pull request #9076 from marmelab/doc-fix-typo-in-template-variable-example-using-polyglot
[Doc] fix a typo in variable template example using polyglot
2 parents 47e2dbd + 2201187 commit 589b530

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
@@ -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)