Skip to content

Commit 6607d2a

Browse files
committed
[Doc] Update <CreateDialog> regarding limitation with old versions of react-admin
1 parent 048d39f commit 6607d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CreateDialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ In the related `<Resource>`, you don't need to declare a `create` component as t
6666
<Resource name="customers" list={CustomerList} />
6767
```
6868

69-
**Note**: You can't use the `<CreateDialog>` and have a standard `<Edit>` specified on your `<Resource>`, because the `<Routes>` declarations would conflict. If you need this, use the [`<CreateInDialogButton>`](./CreateInDialogButton.md) instead.
69+
**Note**: If you use a react-admin version older than `5.8.5`, you can't have both a `<CreateDialog>` and a standard `<Edit>` specified on your `<Resource>`, because the `<Routes>` declarations would conflict. If you need this, use the `<CreateInDialogButton>` instead.
7070

7171
## Props
7272

0 commit comments

Comments
 (0)