From 3afbf71cc5b92ccfc0e8f024a07838b880013398 Mon Sep 17 00:00:00 2001 From: sunhao Date: Tue, 16 Jan 2024 13:59:47 +0800 Subject: [PATCH] * zin: set label text in formGroup. --- lib/zin/wg/formgroup/v1.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/zin/wg/formgroup/v1.php b/lib/zin/wg/formgroup/v1.php index b31f01074e..6ed53f9e0e 100644 --- a/lib/zin/wg/formgroup/v1.php +++ b/lib/zin/wg/formgroup/v1.php @@ -81,9 +81,9 @@ class formGroup extends wg set::actionsClass($labelActionsClass), set::actionsProps($labelActionsProps), set::checkbox($checkbox), + set::text($label), set('for', is_null($labelFor) ? $name : $labelFor), - set($labelProps), - $label + set($labelProps) ); }