* Change select to picker in block module.

This commit is contained in:
liumengyi
2023-07-11 10:09:37 +08:00
parent ac29f9c430
commit b7024afe32
5 changed files with 43 additions and 43 deletions
+3 -3
View File
@@ -34,7 +34,7 @@ foreach($params as $key => $row)
'type' => $row['control'],
'items' => isset($row['options']) ? $row['options'] : null,
)),
$row['control'] == 'select' ? set::required(true) : '',
$row['control'] == 'picker' ? set::required(true) : '',
),
);
}
@@ -111,7 +111,7 @@ div
(
$showCodes ? array
(
'type' => 'select',
'type' => 'picker',
'items' => array('') + $codes
) : 'input'
)
@@ -137,7 +137,7 @@ div
formGroup
(
set::label($lang->block->width),
select
picker
(
set::name('width'),
set::items($widthOptions),