ModestasV
ModestasV
FFilament
Created by yohanan on 1/20/2025 in #❓┊help
Tailwind css not working on full-page livewire component
I think that the resources are not being loaded in the components/layouts correctly
24 replies
FFilament
Created by yohanan on 1/20/2025 in #❓┊help
Tailwind css not working on full-page livewire component
Okay, but how did you import the theme/asset files into your layout?
24 replies
FFilament
Created by yohanan on 1/20/2025 in #❓┊help
Tailwind css not working on full-page livewire component
Is the theme being loaded correctly? Try to override some filament styling and see if it works
24 replies
FFilament
Created by yohanan on 1/20/2025 in #❓┊help
Tailwind css not working on full-page livewire component
Have you compiled the assets after you used tailwind classes?
24 replies
FFilament
Created by jlove1672 on 1/20/2025 in #❓┊help
Align heading with search bar
Of course, in this case, you would move a different element
3 replies
FFilament
Created by jlove1672 on 1/20/2025 in #❓┊help
Align heading with search bar
3 replies
FFilament
Created by yohanan on 1/20/2025 in #❓┊help
Tailwind css not working on full-page livewire component
This might help you: https://filamentexamples.com/tutorial/tailwind-css-class-not-found-how-to-add-them?source=search In short - tailwind comes with required classes for Filament to work. If you need anything custom - you have to create a theme 🙂
24 replies
FFilament
Created by Rappu on 1/9/2025 in #❓┊help
Big Reports in Filament
3 replies
FFilament
Created by FullyLoadedTech on 8/3/2023 in #❓┊help
For defaultSort() which accepts a string, is there an easy way to sort by multiple columns?
->defaultSort(function (Builder $query): Builder { return $query ->orderBy('floor') ->orderBy('room_number'); })
10 replies
FFilament
Created by jmrufo on 1/8/2025 in #❓┊help
Problem editing filtered record
That's interesting. It should not affect what is loaded, since it should go by the ID. Do you have any other modifications on the edit page or form itself?
8 replies
FFilament
Created by jmrufo on 1/8/2025 in #❓┊help
Problem editing filtered record
Try to use ->modifyTableQuery() on the table() function in your resource. That should be the place where you add such thing. Or you could add this as a global model scope too
8 replies
FFilament
Created by aacarrion4 on 1/6/2025 in #❓┊help
Connecting filamentphp to google spreadsheet
Sushi doesn't work nicely with big tables. So short answer here is: You need to build an importer from google spreadsheet. Then you'll have the data
5 replies
FFilament
Created by Rick Doetinchem on 12/17/2024 in #❓┊help
Custom page with resource record error
use Filament\Resources\Pages\Page;
use Filament\Resources\Pages\Concerns\InteractsWithRecord;

class ManageUser extends Page
{
use InteractsWithRecord;

public function mount(int | string $record): void
{
$this->record = $this->resolveRecord($record);
}

// ...
}
use Filament\Resources\Pages\Page;
use Filament\Resources\Pages\Concerns\InteractsWithRecord;

class ManageUser extends Page
{
use InteractsWithRecord;

public function mount(int | string $record): void
{
$this->record = $this->resolveRecord($record);
}

// ...
}
Code like this worked for us and our demo cases
21 replies
FFilament
Created by Rick Doetinchem on 12/17/2024 in #❓┊help
Custom page with resource record error
Also you URL param has to be named {record}
21 replies
FFilament
Created by Rick Doetinchem on 12/17/2024 in #❓┊help
Custom page with resource record error
If I'm not mistaken, you have to have public Ticket $record and this will resolve it automatically
21 replies
FFilament
Created by Cem on 12/7/2024 in #❓┊help
Can't style a view in a hook ?
Filament only brings the classes it needs to have it's UI working. Bringign all would be a huge load for just a few required classes. That's why, if you need custom styling - they recommend you to create a new theme and use it 🙂 It will inherit original colors as needed, but you can then build your custom stuff
15 replies
FFilament
Created by ericmp on 11/7/2024 in #❓┊help
How to configure reverb with filament?
Does anyone have this in a publicly available repo/setting to reproduce?
134 replies
FFilament
Created by Adel on 11/11/2024 in #❓┊help
custom field styling
To have all classes - you need to build a custom theme. By default, Filament comes with pre-compiled class list (since that's how tailwindcss works). If you need anything else - you have to use custom themes
5 replies
FFilament
Created by ericmp on 11/7/2024 in #❓┊help
How to configure reverb with filament?
Heh... I'm not really able to re-produce this :/
134 replies
FFilament
Created by ericmp on 11/7/2024 in #❓┊help
How to configure reverb with filament?
yep, seems to be okay... hmm
134 replies