From 3b60cc69e28cef2b215659af2a71aeaf0220184c Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 15 Nov 2023 08:51:01 +0800 Subject: [PATCH] * Remove `,` at the end of row in the lastest children in formpanel widget. --- lib/zin/wg/formpanel/v1.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/zin/wg/formpanel/v1.php b/lib/zin/wg/formpanel/v1.php index 65d70e8e07..b74574277f 100644 --- a/lib/zin/wg/formpanel/v1.php +++ b/lib/zin/wg/formpanel/v1.php @@ -158,7 +158,7 @@ class formPanel extends panel set($this->props->pick(array_keys(formBatch::definedPropsList()))), $this->children(), jsVar('formBatch', true), - $hiddenFields ? jsVar('hiddenFields', $hiddenFields) : null, + $hiddenFields ? jsVar('hiddenFields', $hiddenFields) : null ); } @@ -167,7 +167,7 @@ class formPanel extends panel set::className($this->prop('formClass')), set($this->props->pick(array_keys(form::definedPropsList()))), $this->children(), - $hiddenFields ? jsVar('hiddenFields', $hiddenFields) : null, + $hiddenFields ? jsVar('hiddenFields', $hiddenFields) : null ); }