diff --git a/src/App/Models/CustomField.php b/src/App/Models/CustomField.php index 5c90af3..ff5eb59 100644 --- a/src/App/Models/CustomField.php +++ b/src/App/Models/CustomField.php @@ -65,6 +65,7 @@ protected static function booted() static::deleted(function (self $customField) { $customField->parent()->delete(); $customField->children()->delete(); + $customField->values()->delete(); }); static::saving(function (self $customField) {