This commit is contained in:
2024-06-12 01:45:12 +03:00
parent de3dfeded2
commit 36e40a3035
11 changed files with 1001 additions and 11 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ $labelAttrs = [];
if(mb_strlen($field->getId())){
$labelAttrs['for'] = $field->getId();
}
if($bLabel){?><label <?=Tools::getAttrByArray($labelAttrs)?>><?=$field->getLabel()?></label><?}
if($bLabel && !$field->isHidden()){?><label <?=Tools::getAttrByArray($labelAttrs)?>><?=$field->getLabel()?></label><?}
if($field->isMultiple()){
$values = $field->getValue();