Closed slaik closed 1 year ago
Describe the bug When duplicating a form, its fields are lost
To Reproduce Steps to reproduce the behavior:
Expected behavior In duplicate action after a replicating the form you get fields from replicated form. But you should get fields from original form
Fix In actions/DuplicateForm.php change row 24 from: foreach ($copy->fields as $field) { to: foreach ($this->form->fields as $field) {
October version 2.2.27
Plugin version 2.2.0
Additional context
Version 3.1.0 have this fixed. Thanks!
Describe the bug When duplicating a form, its fields are lost
To Reproduce Steps to reproduce the behavior:
Expected behavior In duplicate action after a replicating the form you get fields from replicated form. But you should get fields from original form
Fix In actions/DuplicateForm.php change row 24 from: foreach ($copy->fields as $field) { to: foreach ($this->form->fields as $field) {
October version 2.2.27
Plugin version 2.2.0
Additional context