Hi,
I have made this structure with unit tests :
$builder = new FieldsBuilder('Banner');
$builder
->addGroup('group')
->addTab('tab')
->addAccordion('accordion')
->addWysiwyg('content')
->addAccordion('accordion_endpoint');
$builder
->modifyField('group->tab_tab->accordion_accordion', function ($builder) {
$builder->addText('sub_title');
return $builder;
});
As you can see, we cannot do :
$builder
->modifyField('group->tab->accordion', ...)
We need to suffix tabs with _tab and accordions with _accordion.
Is this on purpose ? @stevep ? Otherwise, I can make a PR to fix that
Hi,
I have made this structure with unit tests :
As you can see, we cannot do :
We need to suffix tabs with
_taband accordions with_accordion.Is this on purpose ? @stevep ? Otherwise, I can make a PR to fix that