diff --git a/extension/Classes/Core/AbstractBuildForm.php b/extension/Classes/Core/AbstractBuildForm.php index a17ce581bb77a9321d0c62cf83d955f6b04c716b..dcac890c7a91cb226a188494d529eb72cca123cc 100644 --- a/extension/Classes/Core/AbstractBuildForm.php +++ b/extension/Classes/Core/AbstractBuildForm.php @@ -2338,9 +2338,10 @@ abstract class AbstractBuildForm { if ($formElement[FE_BUTTON_CLASS] == '') { $formElement[FE_BUTTON_CLASS] = 'btn-default'; } - + // BS $html = $this->constructRadioButton($formElement, $htmlFormElementName, $value, $json, $mode); } else { + // Plain $html = $this->constructRadioPlain($formElement, $htmlFormElementName, $value, $json, $mode); } @@ -2399,9 +2400,6 @@ abstract class AbstractBuildForm { $attribute .= Support::doAttribute('autofocus', $formElement[FE_AUTOFOCUS]); } - $htmlHidden = $this->buildNativeHidden($htmlFormElementName, $value); - $this->store->setVar($htmlFormElementName, $htmlHidden, STORE_ADDITIONAL_FORM_ELEMENTS, false); - $html = ''; for ($ii = 0; $ii < count($itemValue); $ii++) { $classActive = ''; @@ -2465,6 +2463,7 @@ abstract class AbstractBuildForm { */ private function constructRadioPlain(array $formElement, $htmlFormElementName, $value, array &$json, $mode = FORM_LOAD) { $attributeBase = ''; + $html = ''; if (isset($formElement[FE_BUTTON_CLASS])) { return $this->constructRadioButton($formElement, $htmlFormElementName, $value, $json, $mode); @@ -2495,9 +2494,6 @@ abstract class AbstractBuildForm { $attribute .= Support::doAttribute('autofocus', $formElement[FE_AUTOFOCUS]); } - - $html = $this->buildNativeHidden($htmlFormElementName, $value); - for ($ii = 0; $ii < count($itemValue); $ii++) { $jj++;