Skip to content

Commit

Permalink
Merge pull request #9076 from marmelab/doc-fix-typo-in-template-varia…
Browse files Browse the repository at this point in the history
…ble-example-using-polyglot

[Doc] fix a typo in variable template example using polyglot
  • Loading branch information
slax57 authored Jul 5, 2023
2 parents 47e2dbd + 2201187 commit 589b530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/AutocompleteInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ const CreateCategory = () => {

**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`.

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:
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:

{% raw %}
```diff
Expand Down

0 comments on commit 589b530

Please sign in to comment.