when duplicate form remove removed_properties (#702)

* when duplicate remove removed_properties

* when duplicate remove removed_properties
This commit is contained in:
Chirag Chhatrala 2025-02-13 19:53:51 +05:30 committed by GitHub
parent 29ef44d50e
commit 33bd85fd2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ class FormController extends Controller
// Create copy
$formCopy = $form->replicate();
$formCopy->title = 'Copy of ' . $formCopy->title;
$formCopy->removed_properties = [];
$formCopy->save();
return $this->success([