Allow external group field definition - Refs #2772
This commit is contained in:
parent
c52f91a6d2
commit
6825ce12c8
|
|
@ -315,6 +315,10 @@ class Repeater extends FormWidgetBase
|
|||
return;
|
||||
}
|
||||
|
||||
if (is_string($group)) {
|
||||
$group = $this->makeConfig($group);
|
||||
}
|
||||
|
||||
foreach ($group as $code => $config) {
|
||||
$palette[$code] = [
|
||||
'code' => $code,
|
||||
|
|
|
|||
Loading…
Reference in New Issue