Skip to content
Discussion options

You must be logged in to vote

Hello @kevin-r-j

Can you share the code, so we can help you.

Here is an example about handle the wrapper on pivot

[
'name'    => 'dummyproducts',
'label'   => 'BelongsToMany (n-n) <small>+ subfields for pivot table</small>'.backpack_new_badge(),
'wrapper' => [
    'class' => 'form-group col-md-4',
],
'pivotSelect' => [
    'wrapper' => [
        'class' => 'form-group col-md-6',
    ],
],
'subfields' => [
    [
        'name'    => 'notes',
        'type'    => 'text',
        'wrapper' => [
            'class' => 'form-group col-md-6',
        ],
    ],
],
'tab'   => 'Relationship',
],

Cheers.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kevin-r-j
Comment options

Answer selected by kevin-r-j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants