getLabel());
$labelAttrs = [];
if(mb_strlen($field->getId())){
$labelAttrs['for'] = $field->getId();
}
if($bLabel){?>}
if($field->isMultiple()){
foreach ($field->getValue() as $value){
$inputAttributes = $field->getAttributes();
$inputAttributes['name'] .= '[]';
$inputAttributes['value'] = $value;
?>>
echo "\n\r";
}
$inputAttributes = $field->getAttributes();
$inputAttributes['name'] .= '[]';
$inputAttributes['value'] = '';
?>>
echo "\n\r";
} else {
$inputAttributes = $field->getAttributes();
$inputAttributes['data-dirty'] = $field->isDirty()?'true':'false';
?>>
echo "\n\r";
}