Skip to content

Pls help with select multiple #666

Closed Answered by tm-blg
tm-blg asked this question in Feature Requests
Nov 13, 2024 · 4 comments · 7 replies
Discussion options

You must be logged in to vote

Hi, everyone!

finally I found a solution.

This exception occurs either because of incorrectly specified casts.
In my case specifically it was incorrect validation. U just need add validation rule for everyone checkbox like this:

    public function rules()
    {
        return [
            **'test.one.*' => 'string|nullable',**
            'test.one' => 'array|nullable',
        ];
    }

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@tm-blg
Comment options

@jeffchown
Comment options

@jeffchown
Comment options

@tm-blg
Comment options

@tm-blg
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tm-blg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants