31 'renderType' =>
'tcaDescription',
40 public function render(): array
44 $parameterArray = $this->data[
'parameterArray'];
45 $config = $parameterArray[
'fieldConf'][
'config'];
46 $itemValue = $parameterArray[
'itemFormElValue'];
48 if (isset($config[
'format']) && $config[
'format']) {
49 $formatOptions = $config[
'format.'] ?? [];
50 $itemValue = $this->
formatValue($config[
'format'], $itemValue, $formatOptions);
52 if (!$config[
'pass_content']) {
53 $itemValue = htmlspecialchars($itemValue);
61 $fieldInformationHtml = $fieldInformationResult[
'html'];
65 $html[] =
'<div class="formengine-field-item t3js-formengine-field-item">';
66 $html[] = $fieldInformationHtml;
67 $html[] =
'<div class="form-wizards-wrap">';
68 $html[] =
'<div class="form-wizards-element">';
69 $html[] =
'<div class="form-control-wrap" style="max-width: ' . $width .
'px">';
70 $html[] =
'<input class="form-control" value="' . htmlspecialchars($itemValue) .
'" type="text" disabled>';
76 $resultArray[
'html'] = implode(LF, $html);