Skip to content

Commit 21404b5

Browse files
ENGCOM-3268: Added form fieldset before html data to \Magento\Framework\Data\Form\Element\Fieldset in getElementHtml() method #18798
- Merge Pull Request #18798 from vasilii-b/magento2:2.3-issue-2618 - Merged commits: 1. 069195c
2 parents 2e036c4 + 069195c commit 21404b5

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)