Weccop
Weccop
FFilament
Created by Weccop on 6/25/2024 in #❓┊help
Error when viteTheme added to config
Hello, I have created an new theme but when I add the theme to the provider I get an error: Typed property Filament\Support\Assets\Asset::$package must not be accessed before initialization Anyone nows what the issue could be? I followed all other steps regarding creating a new theme.
4 replies
FFilament
Created by Weccop on 1/3/2024 in #❓┊help
Align two TextColumns next to each in a split / stack
Is it possible to align two TextColums next to each other? I have this at the moment: Summer 2024 01-07-2024 31-07-2024 But I want to have it like: Summer 2024 01-07-2024 31-07-2024 Is this possible with the table builder in Filament? This is what I have at the moment:
Split::make([
Stack::make([
TextColumn::make('season.name')
->label(__('Season')),

Stack::make([
TextColumn::make('season.start_date')
->color('gray')
->date('d-m-Y'),
TextColumn::make('season.end_date')
->color('gray')
->date('d-m-Y'),
])
]),
])
Split::make([
Stack::make([
TextColumn::make('season.name')
->label(__('Season')),

Stack::make([
TextColumn::make('season.start_date')
->color('gray')
->date('d-m-Y'),
TextColumn::make('season.end_date')
->color('gray')
->date('d-m-Y'),
])
]),
])
5 replies
FFilament
Created by Weccop on 12/13/2023 in #❓┊help
Open modal from custom page
What are the options with Filament and Livewire to open an modal from a link? I have a custom Filament page with an calendar on it. In the calendar I want to be able to click a cell and trigger and modal with some form inputs using the form builder. For some reason I cannot find what the best way to do this.
10 replies
FFilament
Created by Weccop on 12/8/2023 in #❓┊help
Select with native false and populate after rendered
I have an select which gets populated by the selected value of another select in the form. ->options(function (Get $get) { return Unit::where('unit_group_id', $get('unit_group_id'))->pluck('name', 'id'); }) I have this code to load the units based on the selected value unit_group_id of the other select. But with native false the select is not populated, but when I remove the native false it works. I could not find the reason in the docs why this does not work. Any thoughts of this?
13 replies