Skip to content
Discussion options

You must be logged in to vote

Hey @lieto-dk sorry it took me some time to get back here.

As you already found out the problem is related with a double encoding. That happens because the table already sends the encoded information, and when your "model cast" for the repeatable container runs it double encodes the table field.

A quick solution I can think of is to to "decode" the table fields in the repeatable container before the create/update processes, something like:

    // overwrite store and update methods
    use \Backpack\CRUD\app\Http\Controllers\Operations\CreateOperation {
        store as traitStore;
    }
    use \Backpack\CRUD\app\Http\Controllers\Operations\UpdateOperation {
        update as traitUpdate;…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@lieto-dk
Comment options

Comment options

You must be logged in to vote
4 replies
@lieto-dk
Comment options

@lieto-dk
Comment options

@lieto-dk
Comment options

@pxpm
Comment options

pxpm Jan 12, 2024
Maintainer

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