Skip to content

Commit 93ba681

Browse files
committed
Fix 1836 AccordionSection activate
1 parent 32e2742 commit 93ba681

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Form/Layout/Section/Accordion.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,9 @@ public function addSection($title, \Closure $callback = null, $icon = 'dropdown'
5353

5454
return $section->add([$this->formLayout, 'form' => $this->form]);
5555
}
56+
57+
public function getSectionIdx($section)
58+
{
59+
return parent::getSectionIdx($section instanceof AccordionSection ? $section : $section->getOwner());
60+
}
5661
}

0 commit comments

Comments
 (0)