Skip to content

Commit

Permalink
[5.x] Duplicate form data when duplicating the form (#10985)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell authored Oct 21, 2024
1 parent 78b135a commit 4579ae7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Actions/DuplicateForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public function run($items, $values)
->title($values['title'])
->honeypot($original->honeypot())
->store($original->store())
->email($original->email());
->email($original->email())
->data($original->data());

$form->save();

Expand Down

0 comments on commit 4579ae7

Please sign in to comment.