We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32e2742 commit 93ba681Copy full SHA for 93ba681
1 file changed
src/Form/Layout/Section/Accordion.php
@@ -53,4 +53,9 @@ public function addSection($title, \Closure $callback = null, $icon = 'dropdown'
53
54
return $section->add([$this->formLayout, 'form' => $this->form]);
55
}
56
+
57
+ public function getSectionIdx($section)
58
+ {
59
+ return parent::getSectionIdx($section instanceof AccordionSection ? $section : $section->getOwner());
60
+ }
61
0 commit comments