Closed sijones-uk closed 4 years ago
Hello, Did you recently update your nova version ? If so, have you rebuild your assets ?
https://nova.laravel.com/docs/2.0/installation.html#updating-nova-s-assets
I am currently using nova v.2.1.0 but It should work with 2.5.0, maybe try do manually delete your vendor folder and run composer install
Yes, I rebuilt the Nova assets. I've also tried it on a fresh Laravel installation and got the same result.
That's interesting.
do you have any errors in your logs ?
Also what does the role
method refers to in your apply method ? the $query variable is an instance of Illuminate\Database\Eloquent\Builder
which does not have such method.
did you try to only return the query in the apply method ?
@sijones-uk This issue was due to a styling issue that have been fixed in v1.1.0
Laravel: v6.4.0 Nova: v2.5.0 nova-select2-filter: v1.0.0
The styling of the select2 box doesn't look like the styling in the README:
Selecting an item from the list doesn't result in the filtering being triggered. However, after selecting an item and then clicking the × to delete it, the list is then filtered based on the item that was deleted.
This is my filter: