From a740e986e9bc52fe36f2db29f11160ff630116f0 Mon Sep 17 00:00:00 2001 From: Andrii Trush Date: Thu, 8 Jan 2026 02:50:10 +0100 Subject: [PATCH] Fix JsDriver::addToFormData call to match interface signature The method $jsDriver->addToFormData() was being called with two arguments ($form, $data), while the JsDriver interface defines it to accept only one parameter: public function addToFormData($data). --- src/Forms/Tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/Tags.php b/src/Forms/Tags.php index f44018e7c65..3c3227496ae 100644 --- a/src/Forms/Tags.php +++ b/src/Forms/Tags.php @@ -81,7 +81,7 @@ public function create() if ($jsDriver) { $data['js_driver'] = $jsDriver->handle(); $data['show_field'] = $jsDriver->copyShowFieldToFormData($data['fields']); - $data = array_merge($data, $jsDriver->addToFormData($form, $data)); + $data = array_merge($data, $jsDriver->addToFormData($data)); } $this->addToDebugBar($data, $formHandle);