nova-searchable-select
nova-searchable-select copied to clipboard
Avatar links are incorrect
I defined an Avatar field on my User Resource:
Avatar::make('avatar')
And defined the Searchable Select Field on an Action:
SearchableSelect::make('User')->resource(\App\Nova\User::class)
The search results show a broken image symbol next to the Username, because the image link is not correct. It just takes the filename and appends it to "one level below" the current url, instead of the storage path.
By "one level below" I mean: If you're on nova/resources/quests
the image link will be nova/resources/foo.png
and if you're on nova/resources/quests/5
the image link will be nova/resources/quests/foo.png
Hi,
currently I am swamped with work so cannot fix this but will get around to it as soon as possible.