Skip to content

Commit

Permalink
Use CanPersistTab trait for Filament v3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkidn committed Nov 29, 2023
1 parent a1eb13e commit d9c5ef1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Forms/TranslatableTabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
use Filament\Forms\Components\Tabs\Tab;
use Filament\Forms\Get;
use Filament\Support\Concerns\CanBeContained;
use Filament\Support\Concerns\CanPersistTab;
use Filament\Support\Concerns\HasExtraAlpineAttributes;
use Livewire\Component as Livewire;

class TranslatableTabs extends Component
{
use CanBeContained;
use HasExtraAlpineAttributes;
use CanPersistTab;

protected string $view = 'filament-forms::components.tabs';

Expand Down

0 comments on commit d9c5ef1

Please sign in to comment.