Skip to content

Commit

Permalink
Merge pull request marmelab#10137 from marmelab/ReferenceManyField-sc…
Browse files Browse the repository at this point in the history
…reencast-editindialog

[Doc] Add screencast for EditInDialogButton in ReferenceManyField documentation
  • Loading branch information
fzaninotto authored Aug 20, 2024
2 parents 5ab7e24 + b080c33 commit 19c951e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/ReferenceManyField.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ In these cases, use [the `<ReferenceOneField>` component](./ReferenceOneField.md

To allow users to create or edit a record without leaving the current view, use the [`<CreateInDialogButton>`](./CreateInDialogButton.md) or the [`<EditInDialogButton>`](./EditInDialogButton.md) component.

<video controls autoplay playsinline muted loop>
<source src="https://react-admin-ee.marmelab.com/assets/ra-form-layout/latest/InDialogButtons.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>

{% raw %}
```jsx
import { Edit, SimpleForm, TextInput, ReferenceManyField, WithRecord, Datagrid } from 'react-admin';
Expand Down

0 comments on commit 19c951e

Please sign in to comment.