Skip to content

Commit

Permalink
Feature/filament v3.1 (#11)
Browse files Browse the repository at this point in the history
* Use CanPersistTab trait for Filament v3.1

* Fix styling

---------

Co-authored-by: jyrkidn <[email protected]>
  • Loading branch information
jyrkidn and jyrkidn authored Dec 7, 2023
1 parent e6722b2 commit a2f05e8
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,12 +7,14 @@
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 CanPersistTab;
use HasExtraAlpineAttributes;

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

0 comments on commit a2f05e8

Please sign in to comment.