day4 / nova-translatable-resource
A base Nova Resource to extend resources that use translatable trait.
3.1.0
2020-10-19 21:20 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2024-12-20 06:24:15 UTC
README
Patches an issue when searching nova models that make use of laravel translatable
Used commonly with:
- astrotomic/laravel-translatable
- day4/switch-locale
Requires Nova 3
Install
composer required day4/nova-translatable-resource
Usage
Switch out the Nova Resource for this one
# use Laravel\Nova\Resource;
use Day4\Nova\TranslatableResource;
class Post extends TranslatableResource
{