You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/CreateDialog.md
+2
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,8 @@ In the related `<Resource>`, you don't need to declare a `create` component as t
55
55
<Resource name="customers" list={CustomerList} />
56
56
```
57
57
58
+
**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.
59
+
58
60
`<CreateDialog>` accepts the same props as the [`<Create>`](./Create.md) component, and the same type of children (e.g. a [`<SimpleForm>`](./SimpleForm.md) element).
0 commit comments