Skip to content

Commit

Permalink
fix the tip documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanMarmelab committed Sep 21, 2024
1 parent 85e5088 commit 5648e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ReferenceManyInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ProductEdit = () => (

`<ReferenceManyInput>` persists the changes in the reference records (variants in the above example) after persisting the changes in the main resource (product in the above example). This means that you can also use `<ReferenceManyInput>` in `<Create>` views.

**Tip**: `<ReferenceManyInput>` cannot be used with `undoable` mutations. You have to set `mutationMode="optimistic"` or `mutationMode="pessimistic"` in the parent `<Edit>` or `<Create>`, as in the example above.
**Tip**: `<ReferenceManyInput>` cannot be used with `undoable` mutations. You have to set `mutationMode="optimistic"` or `mutationMode="pessimistic"` in the parent `<Edit>`, as in the example above.

## Props

Expand Down Expand Up @@ -298,4 +298,4 @@ const ProductEdit = () => (

- `<ReferenceManyInput>` cannot be used inside an `<ArrayInput>` or a `<ReferenceOneInput>`.
- `<ReferenceManyInput>` cannot have a `<ReferenceOneInput>` or a `<ReferenceManyToManyInput>` as one of its children.
- `<ReferenceManyInput>` does not support server side validation.
- `<ReferenceManyInput>` does not support server side validation.

0 comments on commit 5648e80

Please sign in to comment.