Skip to content

Commit 8a113e5

Browse files
authored
ENGCOM-3268: Added form fieldset before html data to \Magento\Framework\Data\Form\Element\Fieldset in getElementHtml() method #18798
2 parents 3582793 + 21404b5 commit 8a113e5

File tree

1 file changed

+2
-1
lines changed
  • lib/internal/Magento/Framework/Data/Form/Element

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/Data/Form/Element/Fieldset.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ public function __construct(
4343
*/
4444
public function getElementHtml()
4545
{
46-
$html = '<fieldset id="' . $this->getHtmlId() . '"' . $this->serialize(
46+
$html = $this->getBeforeElementHtml();
47+
$html .= '<fieldset area-hidden="false" id="' . $this->getHtmlId() . '"' . $this->serialize(
4748
['class']
4849
) . $this->_getUiId() . '>' . "\n";
4950
if ($this->getLegend()) {

0 commit comments

Comments
 (0)