From 3e129b94b96f3128fd71571a24680dfc17833e18 Mon Sep 17 00:00:00 2001 From: Andrii Trush Date: Thu, 8 Jan 2026 16:21:57 +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 a5f98d47e8b..0a5b5285407 100644 --- a/src/Forms/Tags.php +++ b/src/Forms/Tags.php @@ -84,7 +84,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);