Skip to content
Discussion options

You must be logged in to vote

Hey @semiplay I tried to recreate and it worked for me with the following code:

Model

protected $casts = [
        'json' => 'json',
    ];

Controller

CRUD::field([
            'name'  => 'json',
            'label' => 'IMAGES WITH TEXT',
            'type'  => 'repeatable',
            'subfields' => [ // also works as: "fields"
                [
                    'name'    => 'text',
                    'type'    => 'text',
                    'label'   => 'TEXT',
                    'wrapper' => ['class' => 'form-group col-md-4'],
                ],
                [
                    'name'    => 'image',
                    'type'    => 'image',
                    'label'   => 'I…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jcastroa87
Comment options

You must be logged in to vote
4 replies
@semiplay
Comment options

@semiplay
Comment options

@semiplay
Comment options

@semiplay
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants