| [ Web Proxy ] |
| Viewing: https://adminforth.dev/docs/tutorial/Plugins/clone-row/ | [Back] [Original] |
Allows to create a copy of record quickly, by substituting default values to create form
To install the plugin:
pnpm add @adminforth/clone-row --save
To setup the plugin just add it to your resource:
import CloneRow from "@adminforth/clone-row";
...
plugins: [
...
new CloneRow({}),
...
]
makeCloneButtonAsQuickActionBy default, the Clone action appears in the three-dots dropdown menu of each row. Set makeCloneButtonAsQuickAction: true to display it as a standalone icon button directly in the row actions area, next to other quick-action buttons like Approve:
new CloneRow({
makeCloneButtonAsQuickAction: true,
}),
| Web Proxy Viewer | New URL | Original Page |