Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions adminforth/documentation/docs/tutorial/07-Plugins/21-clone-row.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Clone row

Allows to create a copy of record quickly, by substituting default values to create form


## Instalation

To install the plugin:

```bash
npm install @adminforth/clone-row --save
```

## Setting up

To setup the plugin just add it to your resource:

```ts .title="./resources/apartments.ts"
import CloneRow from "@adminforth/CloneRow";

...

plugins: [

...
//diff-add
new CloneRow({}),
...

]
```