Home > @polyspec/crudui-generator-core > FormInstance > copyRow
FormInstance.copyRow() method
Copy current values and give every descendant repeated row a fresh key.
Signature:
copyRow(path: string, key: string, options?: Omit<AddRowOptions, 'value'>): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
path |
string | |
|
key |
string | |
|
options |
Omit<AddRowOptions, 'value'> |
(Optional) |
Returns:
string