toggleable() not working with Split?

I have the following table columns
Split::make([
TextColumn::make('status')
->badge()
->grow(false)
->toggleable(isToggledHiddenByDefault: true)
->label(__('Status')),
TextColumn::make('created_at')
->toggleable(isToggledHiddenByDefault: true)
->sortable()
->toggledHiddenByDefault(true) // I know it's useless, just here for the example
])->from('md'),
Split::make([
TextColumn::make('status')
->badge()
->grow(false)
->toggleable(isToggledHiddenByDefault: true)
->label(__('Status')),
TextColumn::make('created_at')
->toggleable(isToggledHiddenByDefault: true)
->sortable()
->toggledHiddenByDefault(true) // I know it's useless, just here for the example
])->from('md'),
However, the column is always visible. When I click on the on the checkbox to toggle its visibility, the only thing that changes is that the option disappears from the sorting dropdown. If I remove the Split::make() part and only have the columns, it works as expected Is toggleable() not compatible with Split or am I doing something wrong?
Solution:
GitHub
Column Toggleable() doesn't work with Table Split · Issue #7572 · f...
Package filament/filament Package Version v3 Laravel Version v10 Livewire Version v3 PHP Version 8.1 Problem description Here is a video of a classic table toggleable() in filamentphp: Enregistreme...
Jump to solution
5 Replies
ChesterS
ChesterS5mo ago
Here's an example of how it looks
Solution
Tieme
Tieme5mo ago
GitHub
Column Toggleable() doesn't work with Table Split · Issue #7572 · f...
Package filament/filament Package Version v3 Laravel Version v10 Livewire Version v3 PHP Version 8.1 Problem description Here is a video of a classic table toggleable() in filamentphp: Enregistreme...
Tieme
Tieme5mo ago
GitHub
table toggleable function not working in split::make · Issue #6158...
Package filament/tables Package Version v2.x Laravel Version v10 Livewire Version v2 PHP Version php 8.1 Problem description table toggleable function not working in split::make Expected behavior j...
ChesterS
ChesterS5mo ago
Oh ok, so it's a known issue. Cool, thanks!
Tieme
Tieme5mo ago
If you have read it right, it is not implemented and also it will not be implemented. Only if you submit the PR with how to implement it withoud breaking the layout (shifting and stuff)
Want results from more Discord servers?
Add your server
More Posts
Custom text columns, calculated values, sum of related table values.Hi, I have: Model: Booking ``` public function deals(): hasMany { return $this->hasMany(Deal::cCan you run standard css alongside Tailwindcss?Is it possible to run standard css alongside Tailwindcss? There are some css classes that are not avHow to make js load fast?It is a bit annoying to see how the native input is rendered first and then the styled input, it is Displaying multiple images uploaded from SpatiesMediaLibrary intp a blade fileSpatieMediaLibraryFileUpload::make('images') ->multiple(), ***Blade File*** @How can I save different data in one form to different databases?In the bill form, I want to add the values ​​bill_id, table_id of bill_tables, dish_id and quantity training app, how to show ranks and requirements on user resource, and allow admin to mark completedHello, just my second app building with filament and I love it. Bumped into a bit of a tricky thing.Any example of a package using the filamentphp/plugin-skeleton**What I'm trying to do:** Write a filament package. **What I've done** Used the plugin-skeleton abAccess resource record/model in custom component registered via registerRenderHook***What I am trying to do:*** I want to use custom livewire component (to use form builder) and regiCustom Form Repeater minItems is not working.Hi, I am building a custom invoice software with filament. I have tried to use the repeater **minIteFilament's FileUpload uploads strings of paths and not TemporaryFile in V3``` public function form(Form $form): Form { return $form ->schema([