Nested arrays may not be passed to whereIn method.
Using the Forms package i'm creating an edit field for a user. They can update their skills using a multiple select.
But when loading the page im hit with "Nested Arrays may not be passed to whereIn method"
my component:
3 Replies
What is the skills relationshio?
Hello,
Can you pass an example with the following log info?
Log::info('User data loaded:', $this->user->toArray());
Log::debug('Form data state:', ['data' => $this->data]);
Log::debug('Form schema prepared:', ['schema' => $form->getSchema()]);
Greetings
N16htSh1ft
did you solve this issue? im having the same problem now, apparently its to do with eager loading the relationship according to this post ive found, but not had chance to test it out yet: https://laracasts.com/discuss/channels/filament/help-nested-arrays-may-not-be-passed-to-wherein-method