nova-searchable-select
nova-searchable-select copied to clipboard
Resource action returns null
I try to use it on Resource Action.
I declared it as follow:
return [
SearchableSelect::make("User", "user")->resource(\App\Nova\User::class),
];
When i handle submited action, i dump $fields
and the result is:
"user" => "null"
I feel that, its a great component, but, many times i need work with actions. I hope you can solve this. Thanks
Is there any update on this? I am having the same problem. I only know that something strange happens in my case, since the component does not work for me in a specific resource.
That is my resource Escuela.
Here I define the arguments of the SearcheableSelect component.
This is the error, returns null on all objects
Any ideas on what I'm doing wrong?
Difficult to say from the top of my head I'd have to test it. Currently I'm really swamped with other work so have a really difficult time maintaining this as I'm not actively using Nova right now.