Mikail
Mikail
FFilament
Created by Mikail on 9/14/2024 in #❓┊help
$navigationParentItem
Okay then
6 replies
FFilament
Created by Mikail on 9/14/2024 in #❓┊help
$navigationParentItem
any idea on this
6 replies
FFilament
Created by Mikail on 9/28/2024 in #❓┊help
badge color is not reactive on table
it did work correctly when i set the default value to a neutral color like 'gray' rather than empty ''. Thanks
8 replies
FFilament
Created by Mikail on 9/28/2024 in #❓┊help
badge color is not reactive on table
nope. color won't update until page reload
8 replies
FFilament
Created by Mikail on 9/28/2024 in #❓┊help
badge color is not reactive on table
Indeed. But I can't figure out why mine is not. I have latest Filament version. TextInputColumn::make('discipline'), TextColumn::make('id') ->badge() ->color(fn ($record): string => $record->discipline === 'art' ? 'danger' : ''),
8 replies
FFilament
Created by Mikail on 9/28/2024 in #❓┊help
badge color is not reactive on table
hi
8 replies
FFilament
Created by hosmar27 on 9/27/2024 in #❓┊help
How to switch/invert toggle in Filament
alright good
6 replies
FFilament
Created by hosmar27 on 9/27/2024 in #❓┊help
How to switch/invert toggle in Filament
6 replies
FFilament
Created by Mikail on 9/25/2024 in #❓┊help
Accessing table filter
Yes, I did access livewire from the info list with $livewire = Livewire::current(). So I extracted data from table filters with $livewire->table filters['filter_name']. Thanks for the follow up.
15 replies
FFilament
Created by Mikail on 9/25/2024 in #❓┊help
Accessing table filter
alright thanks
15 replies
FFilament
Created by Mikail on 9/25/2024 in #❓┊help
Accessing table filter
sorry there a bit of context. i used to get table filter data with $filters = $livewire->tableFilters; within table column.
15 replies
FFilament
Created by Mikail on 9/25/2024 in #❓┊help
Accessing table filter
InfoListSection::make('Academic Details') ->schema([ TextEntry::make('enrollmentSchoolSession.session_title') ->label('Session'), TextEntry::make('term_id') ->label('Term') ->getStateUsing(function (Livewire $livewire) { $livewire = $table->getLivewire(); $filters = $livewire->tableFilters; $filters = self::extractFilters($livewire); $term = Term::find($filters['term_id']); return $term ? $term->name : null; }), get filtered data from table to infolist
15 replies
FFilament
Created by Mikail on 9/25/2024 in #❓┊help
Accessing table filter
yes
15 replies
FFilament
Created by Ricardo Sawir on 1/6/2024 in #❓┊help
do we have a way to make table column fixed when side scrolling?
>extraHeaderAttributes([ 'style' => 'position: sticky; left: 0; z-index: 1;', 'class' => 'bg-gray-50 dark:bg-gray-900', ]) ->extraCellAttributes([ 'style' => 'position: sticky; left: 0; z-index: 1;', 'class' => 'bg-white dark:bg-gray-900', ]) got this somewhere in answers but the background is custom so it doesn't blend with the table color. Temp solution. It should be a core feature imo
5 replies
FFilament
Created by Mikail on 9/14/2024 in #❓┊help
$navigationParentItem
??
6 replies
FFilament
Created by Mikail on 9/11/2024 in #❓┊help
prefix does not exist.
found a way to update filament as I had composer.lock file issue. it's now working, thanks
7 replies
FFilament
Created by Mikail on 9/11/2024 in #❓┊help
prefix does not exist.
v3.2.92
7 replies
FFilament
Created by cakan on 2/20/2024 in #❓┊help
Refresh repeater from child field
exactly. is there a way to refresh the state after delete?
12 replies
FFilament
Created by cakan on 2/20/2024 in #❓┊help
Refresh repeater from child field
yes but in my case i do not want to take it to authorization level
12 replies
FFilament
Created by cakan on 2/20/2024 in #❓┊help
Refresh repeater from child field
yes that works exactly has intented. But there was a need to allow deletion only on certain condition, hence the deleteAction() for manual delete. Which works fine except it doesn't remove it from array via JS. But it'd already be removed from the table.
12 replies