From 6fc4fbed043a02f52ba442e90ac925fee71254b8 Mon Sep 17 00:00:00 2001 From: sunhao Date: Tue, 25 Apr 2023 15:29:26 +0800 Subject: [PATCH] * zin: fix control not render picker --- zin/wg/control/v1.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zin/wg/control/v1.php b/zin/wg/control/v1.php index f046a67260..36498bc71e 100644 --- a/zin/wg/control/v1.php +++ b/zin/wg/control/v1.php @@ -9,6 +9,7 @@ require_once dirname(__DIR__) . DS . 'checklist' . DS . 'v1.php'; require_once dirname(__DIR__) . DS . 'radiolist' . DS . 'v1.php'; require_once dirname(__DIR__) . DS . 'select' . DS . 'v1.php'; require_once dirname(__DIR__) . DS . 'inputcontrol' . DS . 'v1.php'; +require_once dirname(__DIR__) . DS . 'picker' . DS . 'v1.php'; class control extends wg { @@ -105,7 +106,7 @@ class control extends wg $type = $this->prop('type'); if(empty($type)) { - $type = $this->hasProp('items') ? 'select' : 'text'; + $type = $this->hasProp('items') ? 'picker' : 'text'; } $methodName = "build{$type}";