Skip to content

JsonWrapper does not work in pivot field belongstomany #11

@rvalenzuelaferrada

Description

@rvalenzuelaferrada
            BelongsToMany::make('Items')
                ->fields(function () use ($inputs) {
                    return [
                        JsonWrapper::make('answers', $inputs)
                    ];
                }),
exception: "ErrorException"
file: "/home/vagrant/Code/Projects/larawix/vendor/laravel/framework/src/Illuminate/Support/Str.php"
line: 449
message: "Array to string conversion"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions