Fixed
The toggle endpoint returned a 404 for soft-deleted records, making the
toggle unusable from "With Trashed" / lens views that surface trashed rows.
The lookup now applies withTrashed() when the Nova resource uses soft
deletes. Behavior is unchanged for resources without soft deletes, and the
authorization and toggleable-attribute whitelist checks continue to apply
to trashed records as well.
Thanks to Roberto Negro for the fix
(#2).
Upgrading
Drop-in upgrade — just run composer update almirhodzic/nova-toggle-5.